Browse Source

iPAD Login : revert to old login method not visible #525

Marino Faggiana 7 years ago
parent
commit
aca2ec466e
1 changed files with 8 additions and 4 deletions
  1. 8 4
      iOSClient/Login/CCLogin.m

+ 8 - 4
iOSClient/Login/CCLogin.m

@@ -120,8 +120,10 @@
     } else {
     } else {
         
         
         // Landscape
         // Landscape
-        self.bottomLabel.hidden = YES;
-        self.loginTypeView.hidden = YES;
+        if (UI_USER_INTERFACE_IDIOM() != UIUserInterfaceIdiomPad) {
+            self.bottomLabel.hidden = YES;
+            self.loginTypeView.hidden = YES;
+        }
     }
     }
     
     
     // Brand
     // Brand
@@ -199,8 +201,10 @@
         } else {
         } else {
             
             
             // Landscape
             // Landscape
-            self.bottomLabel.hidden = YES;
-            self.loginTypeView.hidden = YES;
+            if (UI_USER_INTERFACE_IDIOM() != UIUserInterfaceIdiomPad) {
+                self.bottomLabel.hidden = YES;
+                self.loginTypeView.hidden = YES;
+            }
         }
         }
     }];
     }];