mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Improve Dynamic Type
This commit is contained in:
@@ -167,7 +167,7 @@ final class ThemeGridController: ViewController {
|
||||
}
|
||||
}, deleteWallpapers: { [weak self] wallpapers, completed in
|
||||
if let strongSelf = self {
|
||||
let actionSheet = ActionSheetController(presentationTheme: strongSelf.presentationData.theme)
|
||||
let actionSheet = ActionSheetController(presentationData: strongSelf.presentationData)
|
||||
var items: [ActionSheetItem] = []
|
||||
items.append(ActionSheetButtonItem(title: strongSelf.presentationData.strings.Wallpaper_DeleteConfirmation(Int32(wallpapers.count)), color: .destructive, action: { [weak self, weak actionSheet] in
|
||||
|
||||
@@ -220,7 +220,7 @@ final class ThemeGridController: ViewController {
|
||||
}
|
||||
}, resetWallpapers: { [weak self] in
|
||||
if let strongSelf = self {
|
||||
let actionSheet = ActionSheetController(presentationTheme: strongSelf.presentationData.theme)
|
||||
let actionSheet = ActionSheetController(presentationData: strongSelf.presentationData)
|
||||
let items: [ActionSheetItem] = [
|
||||
ActionSheetButtonItem(title: strongSelf.presentationData.strings.Wallpaper_ResetWallpapersConfirmation, color: .destructive, action: { [weak self, weak actionSheet] in
|
||||
actionSheet?.dismissAnimated()
|
||||
|
||||
Reference in New Issue
Block a user