There was an error while loading. Please reload this page.
1 parent e625f45 commit 8eaeebdCopy full SHA for 8eaeebd
1 file changed
app/src/main/java/com/owncloud/android/MainApp.java
@@ -882,10 +882,7 @@ public AndroidInjector<Object> androidInjector() {
882
}
883
884
public static void setAppTheme(DarkMode mode) {
885
- switch (mode) {
886
- case LIGHT -> AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO);
887
- case DARK -> AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES);
888
- case SYSTEM -> AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM);
889
- }
+ // NMC Customization -> Always follow system theme
+ AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM);
890
891
0 commit comments