Commit 5dc63837 authored by Felix Paul Kühne's avatar Felix Paul Kühne

OneDrive: remove deprecated, dead code

parent a63b54e9
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment