mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-12 15:24:39 +00:00
chore: remove AccountSelection component that is no longer needed
This commit is contained in:
parent
026d1d1c4d
commit
34810e0587
ui
@ -145,7 +145,6 @@ DISTFILES += \
|
|||||||
onboarding/KeysMain.qml \
|
onboarding/KeysMain.qml \
|
||||||
onboarding/Login.qml \
|
onboarding/Login.qml \
|
||||||
onboarding/Login/AccountList.qml \
|
onboarding/Login/AccountList.qml \
|
||||||
onboarding/Login/AccountSelection.qml \
|
|
||||||
onboarding/Login/AddressView.qml \
|
onboarding/Login/AddressView.qml \
|
||||||
onboarding/Login/ConfirmAddExistingKeyModal.qml \
|
onboarding/Login/ConfirmAddExistingKeyModal.qml \
|
||||||
onboarding/Login/SelectAnotherAccountModal.qml \
|
onboarding/Login/SelectAnotherAccountModal.qml \
|
||||||
|
@ -1,67 +0,0 @@
|
|||||||
import QtQuick 2.3
|
|
||||||
import QtQuick.Controls 2.4
|
|
||||||
import QtQuick.Layouts 1.11
|
|
||||||
import QtQuick.Window 2.11
|
|
||||||
import QtQuick.Dialogs 1.3
|
|
||||||
import "../../shared"
|
|
||||||
import "../../imports"
|
|
||||||
|
|
||||||
Item {
|
|
||||||
id: wizardStep1
|
|
||||||
property int selectedIndex: 0
|
|
||||||
property alias btnGenKey: btnGenKey
|
|
||||||
property var onAccountSelect: function() {}
|
|
||||||
|
|
||||||
Layout.fillHeight: true
|
|
||||||
Layout.fillWidth: true
|
|
||||||
|
|
||||||
Text {
|
|
||||||
id: title
|
|
||||||
text: qsTr("Login")
|
|
||||||
font.pointSize: 36
|
|
||||||
anchors.top: parent.top
|
|
||||||
anchors.topMargin: 20
|
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
|
||||||
}
|
|
||||||
|
|
||||||
ButtonGroup {
|
|
||||||
id: accountGroup
|
|
||||||
}
|
|
||||||
|
|
||||||
AccountList {
|
|
||||||
id: accountList
|
|
||||||
accounts: loginModel
|
|
||||||
onAccountSelect: function(index) {
|
|
||||||
wizardStep1.selectedIndex = index
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Item {
|
|
||||||
id: footer
|
|
||||||
width: btnGenKey.width + selectBtn.width + Theme.padding
|
|
||||||
height: btnGenKey.height
|
|
||||||
anchors.bottom: parent.bottom
|
|
||||||
anchors.bottomMargin: Theme.padding
|
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
|
||||||
|
|
||||||
StyledButton {
|
|
||||||
id: btnGenKey
|
|
||||||
label: qsTr("Generate new account")
|
|
||||||
}
|
|
||||||
|
|
||||||
StyledButton {
|
|
||||||
id: selectBtn
|
|
||||||
anchors.left: btnGenKey.right
|
|
||||||
anchors.leftMargin: Theme.padding
|
|
||||||
label: qsTr("Select")
|
|
||||||
|
|
||||||
onClicked: onAccountSelect()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*##^##
|
|
||||||
Designer {
|
|
||||||
D{i:0;autoSize:true;height:480;width:640}
|
|
||||||
}
|
|
||||||
##^##*/
|
|
@ -1,4 +1,3 @@
|
|||||||
AccountSelection 1.0 AccountSelection.qml
|
|
||||||
AccountList 1.0 AccountList.qml
|
AccountList 1.0 AccountList.qml
|
||||||
AddressView 1.0 AddressView.qml
|
AddressView 1.0 AddressView.qml
|
||||||
SelectAnotherAccountModal 1.0 SelectAnotherAccountModal.qml
|
SelectAnotherAccountModal 1.0 SelectAnotherAccountModal.qml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user