mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
Fix Codacy Spotbugs
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
7e0d05818b
commit
cde7edba5f
1 changed files with 1 additions and 7 deletions
|
@ -437,13 +437,7 @@ public final class AppPreferencesImpl implements AppPreferences {
|
|||
|
||||
@Override
|
||||
public boolean isDarkModeEnabled() {
|
||||
DarkMode darkMode = getDarkThemeMode();
|
||||
|
||||
if (darkMode != null) {
|
||||
return getDarkThemeMode() == DarkMode.DARK;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
return getDarkThemeMode() == DarkMode.DARK;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue