Felix Paul Kühne пре 9 година
родитељ
комит
2de6482968
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Sources/VLCOneDriveController.m

+ 1 - 1
Sources/VLCOneDriveController.m

@@ -101,7 +101,7 @@
     [_liveClient logoutWithDelegate:self userState:@"logout"];
 
     NSUbiquitousKeyValueStore *ubiquitousStore = [NSUbiquitousKeyValueStore defaultStore];
-    [ubiquitousStore delete:kVLCStoreOneDriveCredentials];
+    [ubiquitousStore removeObjectForKey:kVLCStoreOneDriveCredentials];
     [ubiquitousStore synchronize];
 
     _activeSession = NO;