remove trailing white space...
This commit is contained in:
parent
3a0d40d86d
commit
301ac10515
@ -58,6 +58,7 @@ public class FDroidApp extends Application {
|
|||||||
private static enum Theme {
|
private static enum Theme {
|
||||||
dark, light
|
dark, light
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Theme curTheme = Theme.dark;
|
private static Theme curTheme = Theme.dark;
|
||||||
|
|
||||||
public void reloadTheme() {
|
public void reloadTheme() {
|
||||||
@ -65,6 +66,7 @@ public class FDroidApp extends Application {
|
|||||||
.getDefaultSharedPreferences(getBaseContext())
|
.getDefaultSharedPreferences(getBaseContext())
|
||||||
.getString(Preferences.PREF_THEME, "dark"));
|
.getString(Preferences.PREF_THEME, "dark"));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void applyTheme(Activity activity) {
|
public void applyTheme(Activity activity) {
|
||||||
switch (curTheme) {
|
switch (curTheme) {
|
||||||
case dark:
|
case dark:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user