Selaa lähdekoodia

move backup up

B. Petersen 2 vuotta sitten
vanhempi
commit
7f7056ff49

+ 7 - 8
deltachat-ios/Controller/Settings/AdvancedViewController.swift

@@ -74,21 +74,20 @@ internal final class AdvancedViewController: UITableViewController, ProgressAler
     }()
     }()
 
 
     private lazy var sections: [SectionConfigs] = {
     private lazy var sections: [SectionConfigs] = {
-        let preferencesSection = SectionConfigs(
+        let backupSection = SectionConfigs(
             headerTitle: nil,
             headerTitle: nil,
-            footerTitle: nil,
-            cells: [videoChatInstanceCell]
-        )
+            footerTitle: String.localized("pref_backup_explain"),
+            cells: [exportBackupCell])
         let autocryptSection = SectionConfigs(
         let autocryptSection = SectionConfigs(
             headerTitle: String.localized("autocrypt"),
             headerTitle: String.localized("autocrypt"),
             footerTitle: String.localized("autocrypt_explain"),
             footerTitle: String.localized("autocrypt_explain"),
             cells: [autocryptPreferencesCell, sendAutocryptMessageCell]
             cells: [autocryptPreferencesCell, sendAutocryptMessageCell]
         )
         )
-        let backupSection = SectionConfigs(
+        let experimentalSection = SectionConfigs(
             headerTitle: nil,
             headerTitle: nil,
-            footerTitle: String.localized("pref_backup_explain"),
-            cells: [advancedCell, exportBackupCell])
-        return [preferencesSection, autocryptSection, backupSection]
+            footerTitle: nil,
+            cells: [videoChatInstanceCell, advancedCell])
+        return [backupSection, autocryptSection, experimentalSection]
     }()
     }()
 
 
     init(dcAccounts: DcAccounts) {
     init(dcAccounts: DcAccounts) {