Parcourir la source

use a NavigationRow instead of an ActionRow for the unblock item.

in fact, the entry navigates to the viewcontroller
where the action of unblocking finally takes place.
in contrast to that, the "backup" and "send asm" rows
that are really actions.
B. Petersen il y a 5 ans
Parent
commit
84aebc9188
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      deltachat-ios/Controller/SettingsController.swift

+ 3 - 1
deltachat-ios/Controller/SettingsController.swift

@@ -109,7 +109,9 @@ internal final class SettingsViewController: QuickTableViewController {
             Section(
                 title: String.localized("pref_communication"),
                 rows: [
-                    TapActionRow(text: String.localized("pref_blocked_contacts"), action: { [weak self] in self?.showBlockedContacts($0) }),
+                    NavigationRow(text: String.localized("pref_blocked_contacts"),
+                              detailText: .none,
+                              action: { [weak self] in self?.showBlockedContacts($0) }),
                     SwitchRow(text: String.localized("pref_read_receipts"),
                               switchValue: DcConfig.mdnsEnabled,
                               action: { row in