Browse Source

bugfix login without intro

Marino Faggiana 8 years ago
parent
commit
6d01d2cc4a
2 changed files with 9 additions and 9 deletions
  1. 6 6
      iOSClient/Brand/CCNextcloudConstant.h
  2. 3 3
      iOSClient/Main/CCSplit.m

+ 6 - 6
iOSClient/Brand/CCNextcloudConstant.h

@@ -29,20 +29,20 @@
 #define k_pushNotificationServer        @"https://push-notifications.nextcloud.com"
 #define k_pushNotificationServer        @"https://push-notifications.nextcloud.com"
 #define k_loginButtonLabelLink          @"https://nextcloud.com/providers"
 #define k_loginButtonLabelLink          @"https://nextcloud.com/providers"
 
 
-// Capabilities Group & Service Key Share
+// Capabilities Group
 #define k_capabilitiesGroups            @"group.it.twsweb.Crypto-Cloud"
 #define k_capabilitiesGroups            @"group.it.twsweb.Crypto-Cloud"
 
 
 /* Define option compiler */
 /* Define option compiler */
 
 
 /*
 /*
- #define OPTION_MULTIUSER_DISABLE
- #define OPTION_CRYPTO_CLOUD_SYSTEM_DISABLE
+ #define OPTION_DISABLE_INTRO
+ #define NO_REQUEST_LOGIN_URL
  
  
  #define OPTION_FIREBASE_ENABLE
  #define OPTION_FIREBASE_ENABLE
- #define OPTION_AUTOMATIC_UPLOAD_ENABLE
- #define OPTION_DISABLE_INTRO
  
  
- #define NO_REQUEST_LOGIN_URL
+ #define OPTION_MULTIUSER_DISABLE
+ #define OPTION_CRYPTO_CLOUD_SYSTEM_DISABLE
+ #define OPTION_AUTOMATIC_UPLOAD_ENABLE
 */
 */
 
 
 #define OPTION_FIREBASE_ENABLE
 #define OPTION_FIREBASE_ENABLE

+ 3 - 3
iOSClient/Main/CCSplit.m

@@ -104,7 +104,7 @@
 
 
     [CCUtility setIntro:@"1.0"];
     [CCUtility setIntro:@"1.0"];
     
     
-    [self newAccount];
+    [self performSelector:@selector(newAccount) withObject:nil afterDelay:0.1];
 
 
 #else
 #else
     
     
@@ -115,7 +115,7 @@
         
         
     } else {
     } else {
         
         
-        [self newAccount];
+        [self performSelector:@selector(newAccount) withObject:nil afterDelay:0.1];
     }
     }
     
     
 #endif
 #endif
@@ -125,7 +125,7 @@
 - (void)introWillFinish:(EAIntroView *)introView wasSkipped:(BOOL)wasSkipped
 - (void)introWillFinish:(EAIntroView *)introView wasSkipped:(BOOL)wasSkipped
 {
 {
     [CCUtility setIntro:@"1.0"];
     [CCUtility setIntro:@"1.0"];
-    [self newAccount];
+    [self performSelector:@selector(newAccount) withObject:nil afterDelay:0.1];
 }
 }
 
 
 #pragma --------------------------------------------------------------------------------------------
 #pragma --------------------------------------------------------------------------------------------