Quellcode durchsuchen

Fix runtime exception

Felix Paul Kühne vor 9 Jahren
Ursprung
Commit
2de6482968
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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;