forked from mirrors/linphone-iphone
Ui Assistant
This commit is contained in:
parent
79fe60bfac
commit
eb4acee2e6
3 changed files with 8 additions and 4 deletions
|
|
@ -36,6 +36,7 @@
|
|||
}
|
||||
|
||||
@property(nonatomic) UICompositeViewDescription *outgoingView;
|
||||
@property (weak, nonatomic) IBOutlet UILabel *subtileLabel_useLinphoneAccount;
|
||||
|
||||
@property(nonatomic, strong) IBOutlet TPKeyboardAvoidingScrollView *contentView;
|
||||
@property(nonatomic, strong) IBOutlet UIView *waitView;
|
||||
|
|
|
|||
|
|
@ -1075,6 +1075,11 @@ void assistant_is_account_activated(LinphoneAccountCreator *creator, LinphoneAcc
|
|||
usernameView.hidden = !usernameSwitch.isOn && !emailSwitch.isOn;
|
||||
emailView.hidden = !emailSwitch.isOn;
|
||||
self.infoLoginButton.hidden = !usernameView.hidden;
|
||||
if (!usernameView.hidden) {
|
||||
self.subtileLabel_useLinphoneAccount.text = @"Please enter your username and password";
|
||||
} else {
|
||||
self.subtileLabel_useLinphoneAccount.text = @"Please confirm your country code and enter your phone number";
|
||||
}
|
||||
|
||||
|
||||
UIAssistantTextField* countryCodeField = [self findTextField:ViewElement_PhoneCC];
|
||||
|
|
@ -1132,10 +1137,7 @@ void assistant_is_account_activated(LinphoneAccountCreator *creator, LinphoneAcc
|
|||
message:NSLocalizedString(@"Your friends will find your more easily if you link your account to your "
|
||||
@"phone number. \n\nYou will see in your address book who is using "
|
||||
@"Linphone and your friends will know that they can reach you on Linphone "
|
||||
@"as well. \n\nYou can use your phone number with only one Linphone "
|
||||
@"account. If you had already linked your number to an other account but "
|
||||
@"you prefer to use this one, simply link it now and your number will "
|
||||
@"automatically be moved to this account.",
|
||||
@"as well.",
|
||||
nil)
|
||||
preferredStyle:UIAlertControllerStyleAlert];
|
||||
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@
|
|||
<outlet property="loginView" destination="56" id="bJH-N8-uPi"/>
|
||||
<outlet property="remoteProvisioningLoginView" destination="xVK-hL-6pe" id="pKL-9M-Vsa"/>
|
||||
<outlet property="remoteProvisioningView" destination="Zuh-Sd-pcd" id="3pa-2M-5Xq"/>
|
||||
<outlet property="subtileLabel_useLinphoneAccount" destination="4n3-ZD-KVi" id="8d9-0f-2Vi"/>
|
||||
<outlet property="welcomeView" destination="33" id="46a-AR-5mN"/>
|
||||
</connections>
|
||||
</placeholder>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue