소스 검색

VLCDropboxController: Reset correctly on logout

(closes #615)
Soomin Lee 6 년 전
부모
커밋
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