Refactoring

This commit is contained in:
Ali
2021-08-04 01:30:57 +02:00
parent f675add6f9
commit 2d66131682
179 changed files with 691 additions and 467 deletions

View File

@@ -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