summaryrefslogtreecommitdiff
path: root/Login.qml
diff options
context:
space:
mode:
Diffstat (limited to 'Login.qml')
-rw-r--r--Login.qml36
1 files changed, 8 insertions, 28 deletions
diff --git a/Login.qml b/Login.qml
index 2f0f1c8..bcbbf50 100644
--- a/Login.qml
+++ b/Login.qml
@@ -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{}
}