Fix Dynamic Type in secret chat key item and "open in" selection

This commit is contained in:
Ali
2019-11-29 11:47:55 +04:00
parent 1d4fe238fe
commit 4a05d43645
4 changed files with 43 additions and 47 deletions

View File

@@ -466,7 +466,7 @@ private enum UserInfoEntry: ItemListNodeEntry {
arguments.openGroupsInCommon()
})
case let .secretEncryptionKey(theme, text, fingerprint):
return ItemListSecretChatKeyItem(theme: theme, title: text, fingerprint: fingerprint, sectionId: self.section, style: .plain, action: {
return ItemListSecretChatKeyItem(presentationData: presentationData, title: text, fingerprint: fingerprint, sectionId: self.section, style: .plain, action: {
arguments.openEncryptionKey(fingerprint)
})
case let .botAddToGroup(theme, text):