CryptoPassphrase  Check-in [cfca140d3c]

Overview
Comment:iOS: Fix deleting a site
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: cfca140d3c8ace0849bf0b774b9cbf749907bf93757ba0fdcffeee8678ab904a
User & Date: js on 2017-10-15 15:13:53
Other Links: manifest | tags
Context
2017-10-15
18:04
Use static ObjFW check-in: 62ffb58d53 user: js tags: trunk
15:13
iOS: Fix deleting a site check-in: cfca140d3c user: js tags: trunk
15:04
Fix analyzer findings check-in: 8518df1e34 user: js tags: trunk
Changes

Modified iOS/ShowDetailsController.m from [3673b837ce] to [205d2ed613].

224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
				     style: UIAlertActionStyleCancel
				   handler: nil]];
	[alert addAction:
	    [UIAlertAction actionWithTitle: @"Yes"
				     style: UIAlertActionStyleDestructive
				   handler: ^ (UIAlertAction *action) {
		[self.mainViewController.siteStorage removeSite: _name];
		[self.mainViewController.tableView reloadData];

		[self.navigationController popViewControllerAnimated: YES];
	}]];

	[self presentViewController: alert
			   animated: YES
			 completion: nil];







|







224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
				     style: UIAlertActionStyleCancel
				   handler: nil]];
	[alert addAction:
	    [UIAlertAction actionWithTitle: @"Yes"
				     style: UIAlertActionStyleDestructive
				   handler: ^ (UIAlertAction *action) {
		[self.mainViewController.siteStorage removeSite: _name];
		[self.mainViewController reset];

		[self.navigationController popViewControllerAnimated: YES];
	}]];

	[self presentViewController: alert
			   animated: YES
			 completion: nil];