Commit 95baee1b authored by Soomin Lee's avatar Soomin Lee Committed by Jean-Baptiste Kempf

iOS: Add animation for toolbar edit mode

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 58ccac51
......@@ -1345,7 +1345,8 @@ static NSString *kUsingTableViewToShowData = @"UsingTableViewToShowData";
_indexPaths = nil;
[self updateViewContents];
}
self.navigationController.toolbarHidden = !editing;
[self.navigationController setToolbarHidden:!editing animated:YES];
[UIView performWithoutAnimation:^{
[editButton setTitle:editing ? NSLocalizedString(@"BUTTON_CANCEL", nil) : NSLocalizedString(@"BUTTON_EDIT", nil)];
......
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