Don't show register/reset tabs on sso login box

This commit is contained in:
miruka
2020-08-19 10:04:03 -04:00
parent f648807730
commit 3c79ffbf21
3 changed files with 5 additions and 1 deletions

View File

@@ -38,6 +38,9 @@ HSwipeView {
height: Math.min(implicitHeight, tabPage.availableHeight)
header: HTabBar {
visible:
signInLoader.sourceComponent !== signInLoader.signInSso
HTabButton { text: qsTr("Sign in") }
HTabButton { text: qsTr("Register") }
HTabButton { text: qsTr("Reset") }

View File

@@ -36,6 +36,7 @@ SignInBase {
}
implicitWidth: theme.controls.box.defaultWidth * 1.25
applyButton.text: qsTr("Waiting")
applyButton.loading: true
Component.onCompleted: page.startSignIn()