Merge pull request #9957 from AlexSyt/fix_broken_theme_icon_9783
#9783 Fix broken app theme icon
This commit is contained in:
commit
885ab3a979
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ public class GeneralProfileSettingsFragment extends BaseSettingsFragment impleme
|
|||
if (settings.isSystemDefaultThemeUsedForMode(mode)) {
|
||||
iconId = R.drawable.ic_action_android;
|
||||
} else {
|
||||
iconId = settings.isLightContent() ? R.drawable.ic_action_sun : R.drawable.ic_action_moon;
|
||||
iconId = settings.isLightContentForMode(mode) ? R.drawable.ic_action_sun : R.drawable.ic_action_moon;
|
||||
}
|
||||
return getActiveIcon(iconId);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue