Skip to content

Commit

Permalink
Enable night mode by default
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasrafagnin committed Sep 8, 2022
1 parent f54ede0 commit 5202ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/rafagnin/tvshowcase/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class App : Application() {

// To apply the dark theme when the system hasn't theme option
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.Q) {
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO)
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES)
}
}
}

0 comments on commit 5202ddb

Please sign in to comment.