#9783 Fix broken app theme icon

This commit is contained in:
Alexander Sytnyk 2020-10-06 11:03:19 +03:00
parent cdc903e3db
commit be83917aa7

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