瀏覽代碼

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 年之前
父節點
當前提交
84aebc9188
共有 1 個文件被更改,包括 3 次插入1 次删除
  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