From 7625e24271ebb98848f92eb69d5706221a2efac3 Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Thu, 19 Sep 2019 09:21:47 +0700 Subject: rearrange `Login` flow --- features/LoginEmail.qml | 44 +------------------------------------------- 1 file changed, 1 insertion(+), 43 deletions(-) (limited to 'features/LoginEmail.qml') diff --git a/features/LoginEmail.qml b/features/LoginEmail.qml index bfb1e52..3352f4a 100644 --- a/features/LoginEmail.qml +++ b/features/LoginEmail.qml @@ -3,50 +3,8 @@ import QtQuick.Controls 2.12 import QtQuick.Controls.Material 2.12 import QtQuick.Layouts 1.12 -Page { - header: - ToolBar { +LoginEmailForm {} - background: Rectangle { - color: "#FAFFFFFF" - } - RowLayout { - ToolButton { - id: toolButton - icon.name: "back-button" - icon.source: "../components/icons/arrow-back-24px.svg" - highlighted: true - onClicked: { - if (pageView.depth > 1) { - pageView.pop() - } else { - drawer.open() - } - } - } - - Label { - text: contentView.currentItem.title - font.family: "Work Sans" - font.weight: Font.Medium - font.pointSize: 20 - wrapMode: Text.WordWrap - elide: Label.ElideRight - horizontalAlignment: Qt.AlignHCenter - verticalAlignment: Qt.AlignVCenter - } - } - } - - -StackView { - id: contentView - anchors.topMargin: 432 - anchors.fill: parent - initialItem: Login{ - } -} -} /*##^## Designer { D{i:0;autoSize:true;height:480;width:640} -- cgit v1.2.3