mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-24 19:04:38 -06:00
[UI] Fix restoring header background dialog. (#65)
This commit is contained in:
parent
b31bf5c1ab
commit
9fdee6e0c7
@ -88,7 +88,7 @@ class SettingsThemeCard(util: SettingsUtil) : SettingsCard(util) {
|
|||||||
text = R.string.settings_theme_drawer_header_text,
|
text = R.string.settings_theme_drawer_header_text,
|
||||||
icon = CommunityMaterial.Icon2.cmd_image_outline
|
icon = CommunityMaterial.Icon2.cmd_image_outline
|
||||||
) {
|
) {
|
||||||
if (app.config.ui.appBackground == null) {
|
if (app.config.ui.headerBackground == null) {
|
||||||
setHeaderBackground()
|
setHeaderBackground()
|
||||||
return@createActionItem
|
return@createActionItem
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user