Commit c2ad639f authored by Alexandre Lision's avatar Alexandre Lision Committed by Romain B

wizard: enable by default name registration

During account creation the checkbox was off by default
This commit enables it.

Change-Id: I37cedeae82dccdbb27d7b8512fe75917a9215661
Reviewed-by: default avatarRomain Bertozzi <romain.bertozzi@savoirfairelinux.com>
parent 8b3850a1
......@@ -62,7 +62,6 @@
__unsafe_unretained IBOutlet NSProgressIndicator* progressBar;
__unsafe_unretained IBOutlet NSButton* cbSignupRing;
__unsafe_unretained IBOutlet NSImageView* ivLookupResult;
__unsafe_unretained IBOutlet NSProgressIndicator* indicatorLookupResult;
......@@ -123,6 +122,8 @@ NSInteger const ERROR_REPEAT_MISMATCH = -2;
[photoView setWantsLayer: YES];
photoView.layer.cornerRadius = photoView.frame.size.width / 2;
photoView.layer.masksToBounds = YES;
self.signUpBlockchainState = YES;
[self toggleSignupRing:nil];
[self display:creationView];
}
......@@ -156,8 +157,9 @@ NSInteger const ERROR_REPEAT_MISMATCH = -2;
{
if (auto outputImage = [picker outputImage]) {
[photoView setImage:outputImage];
} else
} else {
[photoView setImage:[NSImage imageNamed:@"default_user_icon"]];
}
}
#pragma mark - Input validation
......
......@@ -6,7 +6,6 @@
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="RingWizardNewAccountVC">
<connections>
<outlet property="cbSignupRing" destination="b0r-ri-6ZA" id="mgz-Je-D0N"/>
<outlet property="creationView" destination="gKX-gX-nko" id="NrN-dl-Z6R"/>
<outlet property="displayNameField" destination="99y-na-GTj" id="5q8-Rc-7Hv"/>
<outlet property="helpBlockchainContainer" destination="ViR-CC-taB" id="JfQ-Sn-nC2"/>
......@@ -262,7 +261,7 @@ Gw
<constraint firstAttribute="height" constant="20" id="Ukr-7U-1Lh"/>
<constraint firstAttribute="width" constant="20" id="XOS-nb-g7U"/>
</constraints>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="ic_action_accept" id="70V-q1-CFT"/>
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="70V-q1-CFT"/>
</imageView>
</subviews>
<constraints>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment