Просмотр исходного кода

oneDrive: fix display bar bottom after logout

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Pierre SAGASPE 10 лет назад
Родитель
Сommit
c62e8b3018
1 измененных файлов с 3 добавлено и 0 удалено
  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