mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Theme: follow system by default
This commit is contained in:
@@ -93,7 +93,7 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
||||
getWindow().addFlags(WindowManager.LayoutParams.FLAG_SECURE);
|
||||
|
||||
if (!this.getClass().equals(ActivityMain.class)) {
|
||||
String theme = prefs.getString("theme", "light");
|
||||
String theme = prefs.getString("theme", "blue_orange_system");
|
||||
|
||||
// https://developer.android.com/guide/topics/ui/look-and-feel/darktheme#configuration_changes
|
||||
int uiMode = getResources().getConfiguration().uiMode;
|
||||
|
||||
Reference in New Issue
Block a user