on xenial help sign in
remove the OK button from the PIN pages
300a991Lukáš Tinkl
qml/Wizard/Pages/passcode-confirm.qml−10
@@ -71,14 +71,4 @@ LocalComponents.Page {
71 onTriggered: pageStack.next()
71 onTriggered: pageStack.next()
72 }
72 }
73 }
73 }
74−
75− Component {
76− id: forwardButton
77− LocalComponents.StackButton {
78− visible: root.passwordMethod === UbuntuSecurityPrivacyPanel.Passphrase
79− enabled: root.password === lockscreen.passphrase
80− text: i18n.tr("OK")
81− onClicked: pageStack.next()
82− }
83− }
84}
74}
qml/Wizard/Pages/passcode-set.qml−9
@@ -80,13 +80,4 @@ LocalComponents.Page {
80 }
80 }
81 }
81 }
82 }
82 }
83−
84− Component {
85− id: forwardButton
86− LocalComponents.StackButton {
87− enabled: lockscreen.passphrase.length >= 4
88− text: i18n.tr("OK")
89− onClicked: passcodeSetPage.confirm()
90− }
91− }
92}
83}