Commit 13dd845b authored by Soomin Lee's avatar Soomin Lee Committed by Jean-Baptiste Kempf

iOS: Fix the possibility to move file to parent from root

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 5c184ab0
Pipeline #63 failed with stage
in 0 seconds
......@@ -1599,6 +1599,9 @@ static NSString *kUsingTableViewToShowData = @"UsingTableViewToShowData";
// Strangely makeObjectsPerformSelector:withObject has trouble here (when called from presentViewController:animated:completion:)
// [self.navigationController.toolbar.items makeObjectsPerformSelector:@selector(setEnabled:) withObject:@(YES)];
for (UIBarButtonItem *item in self.navigationController.toolbar.items) {
if (_removeFromFolderBarButtonItem && !_inFolder) {
continue;
}
item.enabled = YES;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment