Commit 47967e0a authored by Carola's avatar Carola
Browse files

changed removeFolderButton as recommended by Damien Erambert

parent b4f67543
...@@ -235,7 +235,7 @@ static NSString *kDisplayedFirstSteps = @"Did we display the first steps tutoria ...@@ -235,7 +235,7 @@ static NSString *kDisplayedFirstSteps = @"Did we display the first steps tutoria
self.navigationItem.leftBarButtonItem.title = NSLocalizedString(@"BUTTON_BACK", @""); self.navigationItem.leftBarButtonItem.title = NSLocalizedString(@"BUTTON_BACK", @"");
self.title = [folder name]; self.title = [folder name];
UIBarButtonItem *removeFromFolder = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemStop target:self action:@selector(removeFromFolder)]; UIBarButtonItem *removeFromFolder = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemReply target:self action:@selector(removeFromFolder)];
NSMutableArray *toolbarItems = [self.toolbarItems mutableCopy]; NSMutableArray *toolbarItems = [self.toolbarItems mutableCopy];
toolbarItems[0] = removeFromFolder; toolbarItems[0] = removeFromFolder;
self.toolbarItems = toolbarItems; self.toolbarItems = toolbarItems;
......
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