Selaa lähdekoodia

move auto-del-cell down to have roughly the same order as on android; use 'All' instead if 'No limit' to avoid abbreviations as 'Auto-Download... No...' on small screens; also 'All' seems to be just easier here

B. Petersen 3 vuotta sitten
vanhempi
commit
68c50442b8

+ 1 - 1
deltachat-ios/Controller/DownloadOnDemandViewController.swift

@@ -33,7 +33,7 @@ class DownloadOnDemandViewController: UITableViewController {
     static func getValString(val: Int) -> String {
         switch val {
         case 0:
-            return String.localized("no_limit")
+            return String.localized("pref_show_emails_all")
         case 40960:
             return String.localizedStringWithFormat(String.localized("up_to_x"), "40 KiB")
         case 163840:

+ 2 - 2
deltachat-ios/Controller/SettingsController.swift

@@ -230,8 +230,8 @@ internal final class SettingsViewController: UITableViewController, ProgressAler
         let preferencesSection = SectionConfigs(
             headerTitle: String.localized("pref_chats_and_media"),
             footerTitle: String.localized("pref_read_receipts_explain"),
-            cells: [showArchiveCell, showEmailsCell, blockedContactsCell, autodelCell, mediaQualityCell,
-                    downloadOnDemandCell, videoChatInstanceCell, notificationCell, receiptConfirmationCell]
+            cells: [showArchiveCell, showEmailsCell, blockedContactsCell, mediaQualityCell, downloadOnDemandCell,
+                    autodelCell, videoChatInstanceCell, notificationCell, receiptConfirmationCell]
         )
         let autocryptSection = SectionConfigs(
             headerTitle: String.localized("autocrypt"),