Browse Source

fixed MARK-lint-warnings

nayooti 5 years ago
parent
commit
4e84f2d265

+ 4 - 4
deltachat-ios/Controller/AccountSetupController.swift

@@ -69,7 +69,7 @@ class AccountSetupController: UITableViewController {
     
     private var provider: DcProvider?
     
-    //MARK: -the progress dialog
+    // MARK: - the progress dialog
     
     private lazy var configProgressAlert: UIAlertController = {
         let alert = UIAlertController(title: "", message: "", preferredStyle: .alert)
@@ -113,7 +113,7 @@ class AccountSetupController: UITableViewController {
         }
     }
     
-    // MARK: -cells
+    // MARK: - cells
     
     private lazy var emailCell: TextFieldCell = {
         let cell = TextFieldCell.makeEmailCell(delegate: self)
@@ -385,7 +385,7 @@ class AccountSetupController: UITableViewController {
         fatalError("init(coder:) has not been implemented")
     }
 
-    // MARK: -lifecycle
+    // MARK: - lifecycle
     override func viewDidLoad() {
         super.viewDidLoad()
         if editView {
@@ -531,7 +531,7 @@ class AccountSetupController: UITableViewController {
         }
     }
 
-    // MARK: -actions
+    // MARK: - actions
     private func toggleAdvancedSection() {
         let willShow = !advancedSectionShowing
         

+ 2 - 2
deltachat-ios/View/ProviderInfoCell.swift

@@ -87,7 +87,7 @@ class ProviderInfoCell: UITableViewCell {
         infoButton.bottomAnchor.constraint(equalTo: hintBackgroundView.bottomAnchor, constant: -padding).isActive = true
     }
 
-    // MARK: -update
+    // MARK: - update
     func updateInfo(hint text: String?, hintType: ProviderInfoStatus?) {
         hintLabel.text = text
         switch hintType {
@@ -104,7 +104,7 @@ class ProviderInfoCell: UITableViewCell {
         }
     }
 
-    // MARK: -actions
+    // MARK: - actions
     @objc func infoButtonPressed(_:UIButton) {
         onInfoButtonPressed?()
     }