diff options
Diffstat (limited to 'Login.qml')
-rw-r--r-- | Login.qml | 36 |
1 files changed, 8 insertions, 28 deletions
@@ -1,32 +1,12 @@ import QtQuick 2.12 -import QtQuick.Controls 2.12 -import QtQuick.Controls.Material 2.12 -import QtQuick.Layouts 1.12 +import "larva/features" -Page { - header: ToolBar { - background: Rectangle { - color: "#FAFFFFFF" - } - RowLayout { - ToolButton { - id: toolButton - icon.name: "back-button" - icon.source: "assets/arrow-back-24px.svg" - highlighted: true - onClicked: - if (pageView.depth > 1) - pageView.pop() - else - drawer.open() - } - } - } +LoginForm { + toolButton.onClicked: + if (pageView.depth > 1) + pageView.pop() + else + drawer.open() - StackView { - id: contentView - anchors.topMargin: 432 - anchors.fill: parent - initialItem: LoginEmail{} - } + contentView.initialItem: LoginEmail{} } |