Cloud themes improvements

This commit is contained in:
Ilya Laktyushin
2019-08-30 03:46:02 +03:00
parent 569c3d6ac6
commit 7f37307c33
16 changed files with 239 additions and 104 deletions

View File

@@ -299,7 +299,7 @@ private enum ThemeSettingsControllerEntry: ItemListNodeEntry {
arguments.selectTheme(theme)
}
}, longTapped: { theme in
arguments.presentThemeMenu(theme, theme == currentTheme)
arguments.presentThemeMenu(theme, theme.index == currentTheme.index)
})
case let .iconHeader(theme, text):
return ItemListSectionHeaderItem(theme: theme, text: text, sectionId: self.section)