Mobile: consolidate settings to one page and menu entry

Addresses: #492

Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>

Had a bit of rebase issue with this one.

Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
This commit is contained in:
Joakim Bygdell 2017-07-20 19:39:55 +02:00 committed by Dirk Hohndel
parent e80132cdef
commit 6655b37add
5 changed files with 43 additions and 51 deletions

View file

@ -9,7 +9,7 @@ import org.subsurfacedivelog.mobile 1.0
Item {
id: loginWindow
height: outerLayout.height + 2 * Kirigami.Units.gridUnit
height: outerLayout.height
property string username: login.text;
property string password: password.text;
@ -82,7 +82,7 @@ Item {
GridLayout {
columns: 2
CheckBox {
Switch {
checked: false
id: showPassword
onCheckedChanged: {
@ -104,7 +104,5 @@ Item {
Layout.fillWidth: true
visible: rootItem.showPin
}
Item { width: Kirigami.Units.gridUnit; height: width }
}
}