Overview
Comment: | [iOS] Fix legacy toggle |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
830f7b5893ab13ee7fbf253537d4c578 |
User & Date: | js on 2016-10-09 16:39:29 |
Other Links: | manifest | tags |
Context
2016-10-09
| ||
16:39 | [iOS] Go back after generation check-in: e4f6874a3c user: js tags: trunk | |
16:39 | [iOS] Fix legacy toggle check-in: 830f7b5893 user: js tags: trunk | |
16:37 | Add support for removing a site check-in: 8af2dff002 user: js tags: trunk | |
Changes
Modified iOS/AddSiteController.m from [06c53e33a8] to [30a86b68e2].
︙ | ︙ | |||
84 85 86 87 88 89 90 | @"Please pick a name that does not exist yet."); return; } [self.mainViewController.siteStorage setSite: name length: length | | | 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | @"Please pick a name that does not exist yet."); return; } [self.mainViewController.siteStorage setSite: name length: length legacy: self.legacySwitch.on]; [self.mainViewController.tableView reloadData]; [self.navigationController popViewControllerAnimated: YES]; } - (IBAction)cancel: (id)sender |
︙ | ︙ |
Modified iOS/ShowDetailsController.m from [a896899871] to [5c7248a11d].
︙ | ︙ | |||
71 72 73 74 75 76 77 | [_name release]; _name = [siteStorage.sites[row] retain]; _length = [siteStorage lengthForSite: _name]; _legacy = [siteStorage isSiteLegacy: _name]; self.nameField.text = [_name NSObject]; self.lengthField.text = [NSString stringWithFormat: @"%zu", _length]; | | | 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | [_name release]; _name = [siteStorage.sites[row] retain]; _length = [siteStorage lengthForSite: _name]; _legacy = [siteStorage isSiteLegacy: _name]; self.nameField.text = [_name NSObject]; self.lengthField.text = [NSString stringWithFormat: @"%zu", _length]; self.legacySwitch.on = _legacy; } - (void)viewDidAppear: (BOOL)animated { [self.passphraseField becomeFirstResponder]; } |
︙ | ︙ |