mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
[Assistant] upgrade parameter to hide/show button on assistantView
This commit is contained in:
parent
bc94e46623
commit
c1fe7e39ef
2 changed files with 8 additions and 1 deletions
|
|
@ -449,12 +449,14 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
BOOL show_logo = [LinphoneManager.instance lpConfigBoolForKey:@"show_assistant_logo_in_choice_view_preference"];
|
||||
BOOL show_extern = ![LinphoneManager.instance lpConfigBoolForKey:@"hide_assistant_custom_account"];
|
||||
BOOL show_new = ![LinphoneManager.instance lpConfigBoolForKey:@"hide_assistant_create_account"];
|
||||
|
||||
BOOL show_fetch_remote = ![LinphoneManager.instance lpConfigBoolForKey:@"show_remote_provisioning_in_assistant"];
|
||||
|
||||
if (!placement_done) {
|
||||
// visibility
|
||||
_welcomeLogoImage.hidden = !show_logo;
|
||||
_gotoLoginButton.hidden = !show_extern;
|
||||
_gotoCreateAccountButton.hidden = !show_new;
|
||||
_gotoRemoteProvisioningButton.hidden = !show_fetch_remote;
|
||||
|
||||
// placement
|
||||
if (show_logo && show_new && !show_extern) {
|
||||
|
|
|
|||
|
|
@ -8,6 +8,11 @@ hide_assistant_custom_account=0
|
|||
#Hide in the assistant the button to create a new SIP account
|
||||
hide_assistant_create_account=0
|
||||
|
||||
#Hide in the assistant the logo
|
||||
show_assistant_logo_in_choice_view_preference=0
|
||||
|
||||
#Hide in the assistant the button to fetch a remote configuration
|
||||
show_remote_provisioning_in_assistant=0
|
||||
|
||||
#contact_display_username_only=1
|
||||
#contact_filter_on_default_domain=1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue