Kaynağa Gözat

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 5 yıl önce
ebeveyn
işleme
84aebc9188

+ 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