mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
fix third party sip back button visibility
This commit is contained in:
parent
45b2a4f484
commit
2e08bfe507
2 changed files with 5 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ LoginLayout {
|
|||
signal goBack()
|
||||
signal goToRegister()
|
||||
signal connectionSucceed()
|
||||
property bool showBackButton: false
|
||||
|
||||
titleContent: [
|
||||
RowLayout {
|
||||
|
|
@ -20,6 +21,7 @@ LoginLayout {
|
|||
spacing: 21 * DefaultStyle.dp
|
||||
Button {
|
||||
id: backButton
|
||||
visible: mainItem.showBackButton
|
||||
Layout.preferredHeight: 24 * DefaultStyle.dp
|
||||
Layout.preferredWidth: 24 * DefaultStyle.dp
|
||||
icon.source: AppIcons.leftArrow
|
||||
|
|
|
|||
|
|
@ -169,6 +169,9 @@ AbstractWindow {
|
|||
openMainPage()
|
||||
proposeH264CodecsDownload()
|
||||
}
|
||||
StackView.onActivated:{
|
||||
if (!SettingsCpp.assistantGoDirectlyToThirdPartySipAccountLogin || accountProxy?.haveAccount) showBackButton = true
|
||||
}
|
||||
}
|
||||
}
|
||||
Component {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue