浏览代码

VLCDropboxController: Reset correctly on logout

(closes #615)
Soomin Lee 5 年之前
父节点
当前提交
6722c013f8
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Sources/VLCDropboxController.m

+ 3 - 0
Sources/VLCDropboxController.m

@@ -89,6 +89,9 @@
 - (void)logout
 {
     [DBClientsManager unlinkAndResetClients];
+    [self reset];
+    if ([self.delegate respondsToSelector:@selector(mediaListUpdated)])
+        [self.delegate mediaListUpdated];
 }
 
 - (BOOL)isAuthorized