Explorar el Código

VLCDropboxController: Reset correctly on logout

(closes #615)
Soomin Lee hace 6 años
padre
commit
6722c013f8
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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