Marino Faggiana 6 rokov pred
rodič
commit
a0ee8e9474

+ 1 - 1
iOSClient/Library/SwiftWebVC/SwiftModalWebVC.swift

@@ -36,7 +36,7 @@ public class SwiftModalWebVC: UINavigationController {
 
         let doneButton = UIBarButtonItem(image: SwiftWebVC.bundledImage(named: "SwiftWebVCDismiss"), style: UIBarButtonItem.Style.plain, target: webViewController, action: #selector(SwiftWebVC.doneButtonTapped))
     
-        doneButton.tintColor = colorText
+        doneButton.tintColor = colorDoneButton
         webViewController.buttonColor = colorText
         webViewController.titleColor = colorText
         webViewController.view.backgroundColor = UIColor.clear

+ 0 - 3
iOSClient/Login/CCLogin.m

@@ -116,7 +116,6 @@
     }
 
     if (_loginType == k_login_Add ) {
-        // Login Flow ?
         _imageUser.hidden = YES;
         _user.hidden = YES;
         _imagePassword.hidden = YES;
@@ -124,8 +123,6 @@
     }
     
     if (_loginType == k_login_Add_Forced) {
-        _annulla.hidden = YES;
-        // Login Flow ?
         _imageUser.hidden = YES;
         _user.hidden = YES;
         _imagePassword.hidden = YES;

+ 1 - 1
iOSClient/Login/CCLoginWeb.swift

@@ -47,7 +47,7 @@ public class CCLoginWeb: UIViewController {
             urlString =  urlBase+k_flowEndpoint
         }
         
-        let webVC = SwiftModalWebVC(urlString: urlString, colorText: NCBrandColor.sharedInstance.nextcloud, colorDoneButton: NCBrandColor.sharedInstance.customerText, doneButtonVisible: true, hideToolbar: true)
+        let webVC = SwiftModalWebVC(urlString: urlString, colorText: UIColor.black, colorDoneButton: UIColor.black, doneButtonVisible: true, hideToolbar: true)
         webVC.delegateWeb = self
 
         vc.present(webVC, animated: false, completion: nil)