Forráskód Böngészése

no accessibility-tap hint in multi-select

B. Petersen 3 éve
szülő
commit
492e32f93b
1 módosított fájl, 3 hozzáadás és 3 törlés
  1. 3 3
      deltachat-ios/Controller/ChatListController.swift

+ 3 - 3
deltachat-ios/Controller/ChatListController.swift

@@ -538,9 +538,9 @@ class ChatListController: UITableViewController {
             if !handleMultiSelectionTitle() {
                 navigationItem.setLeftBarButton(nil, animated: true)
                 navigationItem.setRightBarButton(newButton, animated: true)
-            }
-            if dcContext.getConnectivity() >= DC_CONNECTIVITY_CONNECTED {
-                titleView.accessibilityHint = "\(String.localized("connectivity_connected")): \(String.localized("a11y_connectivity_hint"))"
+                if dcContext.getConnectivity() >= DC_CONNECTIVITY_CONNECTED {
+                    titleView.accessibilityHint = "\(String.localized("connectivity_connected")): \(String.localized("a11y_connectivity_hint"))"
+                }
             }
         }
         titleView.isUserInteractionEnabled = !tableView.isEditing