Fix action sheet Cancel button font

This commit is contained in:
Ilya Laktyushin
2019-11-22 19:59:25 +04:00
parent 4ffb3bc52b
commit 1f9cbcd537
30 changed files with 74 additions and 74 deletions

View File

@@ -569,7 +569,7 @@ func dataAndStorageController(context: AccountContext, focusOnItemTag: DataAndSt
}).start()
})
]), ActionSheetItemGroup(items: [
ActionSheetButtonItem(title: presentationData.strings.Common_Cancel, color: .accent, action: { [weak actionSheet] in
ActionSheetButtonItem(title: presentationData.strings.Common_Cancel, color: .accent, font: .bold, action: { [weak actionSheet] in
actionSheet?.dismissAnimated()
})
])])

View File

@@ -280,7 +280,7 @@ public func intentsSettingsController(context: AccountContext) -> ViewController
deleteAllSendMessageIntents()
})
]), ActionSheetItemGroup(items: [
ActionSheetButtonItem(title: presentationData.strings.Common_Cancel, color: .accent, action: { [weak actionSheet] in
ActionSheetButtonItem(title: presentationData.strings.Common_Cancel, color: .accent, font: .bold, action: { [weak actionSheet] in
actionSheet?.dismissAnimated()
})
])])