Browse 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 5 years ago
parent
commit
84aebc9188
1 changed files with 3 additions and 1 deletions
  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