CryptoPassphrase  Check-in [79e884ff01]

Overview
Comment:[iOS] Deselect site after tapping it
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 79e884ff01135e5f4546a7bffe0c9f3faf8412fa600ab2722929be2a0630e2e3
User & Date: js on 2016-10-09 16:47:04
Other Links: manifest | tags
Context
2016-10-09
17:47
[iOS] Add about dialog check-in: 0ba1eb505d user: js tags: trunk
16:47
[iOS] Deselect site after tapping it check-in: 79e884ff01 user: js tags: trunk
16:42
[iOS] Disable correction & spell checking for name check-in: 207fdf76c7 user: js tags: trunk
Changes

Modified iOS/Base.lproj/Main.storyboard from [f260f1b692] to [8386affef9].

326
327
328
329
330
331
332
333

334
335
336
337
338
339
340
326
327
328
329
330
331
332

333
334
335
336
337
338
339
340







-
+







                                                    <constraints>
                                                        <constraint firstAttribute="width" constant="100" id="wRI-ys-67O"/>
                                                    </constraints>
                                                    <fontDescription key="fontDescription" type="system" pointSize="17"/>
                                                    <nil key="textColor"/>
                                                    <nil key="highlightedColor"/>
                                                </label>
                                                <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" highlighted="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="DJv-Ey-Hka">
                                                <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" highlighted="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="Required" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="DJv-Ey-Hka">
                                                    <nil key="textColor"/>
                                                    <fontDescription key="fontDescription" type="system" pointSize="17"/>
                                                    <textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no" returnKeyType="done" secureTextEntry="YES"/>
                                                    <connections>
                                                        <outlet property="delegate" destination="ayJ-fs-aIU" id="IuL-Kw-qIq"/>
                                                    </connections>
                                                </textField>

Modified iOS/ShowDetailsController.m from [bd27be3bf5] to [71047772f8].

61
62
63
64
65
66
67
68
69


70
71
72

73
74
75
76
77
78



79
80
81
82
83
84
85
61
62
63
64
65
66
67


68
69
70
71

72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88







-
-
+
+


-
+






+
+
+








	[super dealloc];
}

- (void)viewWillAppear: (BOOL)animated
{
	SiteStorage *siteStorage = self.mainViewController.siteStorage;
	NSInteger row =
	    self.mainViewController.tableView.indexPathForSelectedRow.row;
	NSIndexPath *indexPath =
	    self.mainViewController.tableView.indexPathForSelectedRow;

	[_name release];
	_name = [siteStorage.sites[row] retain];
	_name = [siteStorage.sites[indexPath.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;

	[self.mainViewController.tableView deselectRowAtIndexPath: indexPath
							 animated: YES];
}

- (void)viewDidAppear: (BOOL)animated
{
	[self.passphraseField becomeFirstResponder];
}