Explorar el Código

show only mail in profile subtitle

B. Petersen hace 5 años
padre
commit
0f6958eca1
Se han modificado 1 ficheros con 1 adiciones y 7 borrados
  1. 1 7
      deltachat-ios/Controller/SettingsController.swift

+ 1 - 7
deltachat-ios/Controller/SettingsController.swift

@@ -142,13 +142,7 @@ internal final class SettingsViewController: QuickTableViewController {
     }
 
     private func createSubtitle() -> UILabel {
-        let addr = (DcConfig.addr ?? "")
-        let status = (DcConfig.selfstatus ?? "-")
-        var subtitle = addr
-        if !addr.isEmpty && !status.isEmpty {
-            subtitle += ", " + String.localized("pref_default_status_label") + ": "
-        }
-        subtitle += status
+        let subtitle = (DcConfig.addr ?? "")
         let subtitleView = UILabel.init()
         subtitleView.translatesAutoresizingMaskIntoConstraints = false
         subtitleView.text = subtitle