mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Fix placement of create account button if external account button is disabled.
This commit is contained in:
parent
995078236a
commit
9a95856642
1 changed files with 5 additions and 3 deletions
|
|
@ -282,10 +282,12 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
}
|
||||
if ([[LinphoneManager instance] lpConfigBoolForKey:@"hide_wizard_custom_account_button_preference"] == true) {
|
||||
[externalAccountButton setHidden:TRUE];
|
||||
if ([[LinphoneManager instance] lpConfigBoolForKey:@"show_wizard_logo_in_choice_view_preference"] == true) {
|
||||
[createAccountButton setCenter: [connectAccountButton center]];
|
||||
if ([externalAccountButton center].y != [connectAccountButton center].y) {
|
||||
if ([[LinphoneManager instance] lpConfigBoolForKey:@"show_wizard_logo_in_choice_view_preference"] == true) {
|
||||
[createAccountButton setCenter: [connectAccountButton center]];
|
||||
}
|
||||
[connectAccountButton setCenter: [externalAccountButton center]];
|
||||
}
|
||||
[connectAccountButton setCenter: [externalAccountButton center]];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue