Merge pull request #9957 from AlexSyt/fix_broken_theme_icon_9783

#9783 Fix broken app theme icon
This commit is contained in:
vshcherb 2020-10-06 11:06:14 +02:00 committed by GitHub
commit 885ab3a979
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}