Parcourir la source

VLCDropboxController: Reset correctly on logout

(closes #615)
Soomin Lee il y a 5 ans
Parent
commit
6722c013f8
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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