mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +00:00
Fix theme selector
This commit is contained in:
parent
08c1b03d84
commit
bcc95f2ef0
4 changed files with 8 additions and 4 deletions
|
|
@ -11,6 +11,7 @@ public class PreferenceUtil {
|
|||
private static final String TAG = "PreferenceUtil";
|
||||
|
||||
public static final String SERVER = "server";
|
||||
public static final String THEME = "theme";
|
||||
public static final String USER = "user";
|
||||
public static final String PASSWORD = "password";
|
||||
public static final String TOKEN = "token";
|
||||
|
|
@ -45,7 +46,7 @@ public class PreferenceUtil {
|
|||
}
|
||||
|
||||
public String getTheme() {
|
||||
return mPreferences.getString("themePref", ThemeHelper.DEFAULT_MODE);
|
||||
return mPreferences.getString(THEME, ThemeHelper.DEFAULT_MODE);
|
||||
}
|
||||
|
||||
public String getServer() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue