浏览代码

OneDrive: remove deprecated, dead code

Felix Paul Kühne 7 年之前
父节点
当前提交
5dc63837a5
共有 1 个文件被更改,包括 0 次插入11 次删除
  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;