Преглед на файлове

adaptive font sizes for Settings -> Profile -> Password and account settings cell

cyberta преди 5 години
родител
ревизия
4be4cd0751
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      deltachat-ios/Controller/EditSettingsController.swift

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

@@ -31,9 +31,9 @@ class EditSettingsController: UITableViewController, MediaPickerDelegate {
         return cell
     }()
 
-    private lazy var accountSettingsCell: UITableViewCell = {
-        let cell = UITableViewCell(style: .value1, reuseIdentifier: nil)
-        cell.textLabel?.text = String.localized("pref_password_and_account_settings")
+    private lazy var accountSettingsCell: BasicCell = {
+        let cell = BasicCell(style: .value1, reuseIdentifier: nil)
+        cell.title.text = String.localized("pref_password_and_account_settings")
         cell.accessoryType = .disclosureIndicator
         cell.tag = tagAccountSettingsCell
         return cell