소스 검색

oneDrive: fix display bar bottom after logout

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Pierre SAGASPE 10 년 전
부모
커밋
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