Explorar o código

oneDrive: fix display bar bottom after logout

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Pierre SAGASPE %!s(int64=10) %!d(string=hai) anos
pai
achega
c62e8b3018
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      Sources/VLCOneDriveController.m

+ 3 - 0
Sources/VLCOneDriveController.m

@@ -92,6 +92,9 @@
     [_liveClient logoutWithDelegate:self userState:@"logout"];
     _activeSession = NO;
     _userAuthenticated = NO;
+    _currentFolder = nil;
+    if ([self.delegate respondsToSelector:@selector(mediaListUpdated)])
+        [self.delegate mediaListUpdated];
 }
 
 - (NSArray *)currentListFiles