Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
indent
  • Loading branch information
yannigoyal committed Jul 11, 2025
commit bc1007d7c963ddb436de8cd6ee04de04b21be1c7
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ class SettingsViewModel @Inject constructor(
DARK -> AppCompatDelegate.MODE_NIGHT_YES
}
AppCompatDelegate.setDefaultNightMode(splashMode)

if (Build.VERSION.SDK_INT >= VERSION_CODES.S) {
val uiModeMode = when (darkThemeConfig) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uiModeMode should be renamed, why not simply uiMode or nightMode?

FOLLOW_SYSTEM -> UiModeManager.MODE_NIGHT_AUTO
Expand Down
Loading