浏览代码

Fix runtime exception

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;