mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-27 12:26:48 +01:00
Follow light/dark theme according to system settings as default setting
This commit is contained in:
parent
b7790569b6
commit
3c6fce27a4
@ -11,6 +11,7 @@
|
||||
* ZeTime: Support rejecting calls
|
||||
* ZeTime: Try to fix weather conditions on newer firmwares
|
||||
* ZeTime: Fix could not synchronize calendar on connect
|
||||
* Allow set light/dark theme according to system settings (new default)
|
||||
|
||||
#### Version 0.43.3
|
||||
* Fossil Hybrid HR: Initial support for activity tracking (no sleep yet)
|
||||
|
@ -934,7 +934,7 @@ public class GBApplication extends Application {
|
||||
}
|
||||
|
||||
public static boolean isDarkThemeEnabled() {
|
||||
String selectedTheme = prefs.getString("pref_key_theme", context.getString(R.string.pref_theme_value_light));
|
||||
String selectedTheme = prefs.getString("pref_key_theme", context.getString(R.string.pref_theme_value_system));
|
||||
|
||||
UiModeManager umm = (UiModeManager) context.getSystemService(Context.UI_MODE_SERVICE);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user