Răsfoiți Sursa

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 ani în urmă
părinte
comite
84aebc9188
1 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  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