[UI] Fix restoring header background dialog. (#65)

This commit is contained in:
Kuba Szczodrzyński 2021-09-09 23:14:07 +02:00 committed by GitHub
parent b31bf5c1ab
commit 9fdee6e0c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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