[iOS] Fix legacy toggle
This commit is contained in:
parent
c7872db0ba
commit
f9c228f9ad
2 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ showAlert(UIViewController *controller, NSString *title, NSString *message)
|
|||
[self.mainViewController.siteStorage
|
||||
setSite: name
|
||||
length: length
|
||||
legacy: self.legacySwitch.enabled];
|
||||
legacy: self.legacySwitch.on];
|
||||
|
||||
[self.mainViewController.tableView reloadData];
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ clearNSMutableString(NSMutableString *string)
|
|||
|
||||
self.nameField.text = [_name NSObject];
|
||||
self.lengthField.text = [NSString stringWithFormat: @"%zu", _length];
|
||||
self.legacySwitch.enabled = _legacy;
|
||||
self.legacySwitch.on = _legacy;
|
||||
}
|
||||
|
||||
- (void)viewDidAppear: (BOOL)animated
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue