Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
t895 committed Aug 12, 2022
1 parent 0ba0d57 commit 0fc34c9
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -37,8 +37,10 @@ public static void setTheme(Activity activity)

case MONET:
activity.setTheme(R.style.Theme_Dolphin_Main_MaterialYou);
int currentNightMode = activity.getResources().getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK;
switch (currentNightMode) {
int currentNightMode = activity.getResources().getConfiguration().uiMode &
Configuration.UI_MODE_NIGHT_MASK;
switch (currentNightMode)
{
case Configuration.UI_MODE_NIGHT_NO:
activity.getWindow().setStatusBarColor(
activity.getResources().getColor(R.color.m3_sys_color_dynamic_light_surface));
Expand Down

0 comments on commit 0fc34c9

Please sign in to comment.