marinofaggiana 4 年之前
父节点
当前提交
bff81bd76f
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      iOSClient/Main/Account Request/NCAccountRequest.swift

+ 3 - 1
iOSClient/Main/Account Request/NCAccountRequest.swift

@@ -73,6 +73,7 @@ class NCAccountRequest: UIViewController {
     // MARK: - NotificationCenter
 
     @objc func changeTheming() {
+        
         view.backgroundColor = NCBrandColor.shared.backgroundForm
         tableView.backgroundColor = NCBrandColor.shared.backgroundForm
         tableView.reloadData()
@@ -81,6 +82,7 @@ class NCAccountRequest: UIViewController {
     // MARK: - Progress
     
     @objc func startTimer() {
+        
         time = 0
         timer?.invalidate()
         timer = Timer.scheduledTimer(timeInterval: 0.1, target: self, selector: #selector(updateProgress), userInfo: nil, repeats: true)
@@ -89,7 +91,6 @@ class NCAccountRequest: UIViewController {
     @objc func updateProgress() {
         
         time += 0.1
-        
         if time >= secondsAutoDismiss {
             dismiss(animated: true)
         } else {
@@ -101,6 +102,7 @@ class NCAccountRequest: UIViewController {
 extension NCAccountRequest: UITableViewDelegate {
     
     func scrollViewWillBeginDragging(_ scrollView: UIScrollView) {
+        
         timer?.invalidate()
         progressView.progress = 0
     }