mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Refactoring
This commit is contained in:
@@ -617,7 +617,6 @@ private enum DebugControllerEntry: ItemListNodeEntry {
|
||||
let databasePath = context.account.basePath + "/postbox/db"
|
||||
let _ = try? FileManager.default.removeItem(atPath: databasePath)
|
||||
exit(0)
|
||||
preconditionFailure()
|
||||
}),
|
||||
]), ActionSheetItemGroup(items: [
|
||||
ActionSheetButtonItem(title: presentationData.strings.Common_Cancel, color: .accent, font: .bold, action: { [weak actionSheet] in
|
||||
@@ -640,7 +639,6 @@ private enum DebugControllerEntry: ItemListNodeEntry {
|
||||
let databasePath = context.account.basePath + "/postbox"
|
||||
let _ = try? FileManager.default.removeItem(atPath: databasePath)
|
||||
exit(0)
|
||||
preconditionFailure()
|
||||
}),
|
||||
]), ActionSheetItemGroup(items: [
|
||||
ActionSheetButtonItem(title: presentationData.strings.Common_Cancel, color: .accent, font: .bold, action: { [weak actionSheet] in
|
||||
|
||||
Reference in New Issue
Block a user