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

@ -1,8 +1,8 @@
# TODO
- refresh server list button
- server list sorting method / explain what the % number is (stability)
- spam alt+shift+a when starting app on server browser → segfault
- register tab for sso servers?
- cursor shape in HBox/HTabbedBox pages over fields
- login with account already added → infinite spinner in room list
- verify onKeyboardAccept/Cancel things respect button enabled state

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()