Warn unknown devices: the dialog is a one time change to check unknown devices.

If the user presses cancel or ok, devices will be no more unknown
This commit is contained in:
manuroe
2017-02-15 11:36:22 +01:00
parent fd86929f5e
commit 79e21f6d75
2 changed files with 23 additions and 30 deletions
@@ -54,8 +54,6 @@
self.title = NSLocalizedStringFromTable(@"unknown_devices_title", @"Vector", nil);
self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemCancel target:self action:@selector(onCancel:)];
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone target:self action:@selector(onDone:)];
self.tableView.delegate = self;
@@ -219,11 +217,6 @@
#pragma mark - User actions
- (IBAction)onCancel:(id)sender
{
[self dismissViewControllerAnimated:YES completion:nil];
}
- (IBAction)onDone:(id)sender
{
// Acknowledge the existence of all devices before leaving this screen