Explorar o código

OneDrive: remove deprecated, dead code

Felix Paul Kühne %!s(int64=7) %!d(string=hai) anos
pai
achega
5dc63837a5
Modificáronse 1 ficheiros con 0 adicións e 11 borrados
  1. 0 11
      Sources/VLCOneDriveController.m

+ 0 - 11
Sources/VLCOneDriveController.m

@@ -91,9 +91,6 @@
                 scopes:_liveScopes
               delegate:self
              userState:@"login"];
-#if TARGET_OS_IOS
-    [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault animated:YES];
-#endif
 }
 
 - (void)logout
@@ -123,10 +120,6 @@
 
 - (void)authCompleted:(LiveConnectSessionStatus)status session:(LiveConnectSession *)session userState:(id)userState
 {
-#if TARGET_OS_IOS
-    [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent animated:YES];
-#endif
-
     APLog(@"OneDrive: authCompleted, status %i, state %@", status, userState);
 
     if (session != NULL && [userState isEqualToString:@"init"] && status == 1)
@@ -151,10 +144,6 @@
 
 - (void)authFailed:(NSError *)error userState:(id)userState
 {
-#if TARGET_OS_IOS
-    [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent animated:YES];
-#endif
-
     APLog(@"OneDrive auth failed: %@, %@", error, userState);
     _activeSession = NO;