Commit a61e7db8 authored by Nate Graham's avatar Nate Graham
Browse files

Lock & login screens: Use RTL-friendly arrows when in RTL mode

CCBUG: 440650
(cherry picked from commit c007e68a)
parent 34375ab7
......@@ -93,7 +93,7 @@ SessionManagementScreen {
Layout.preferredHeight: passwordBox.implicitHeight
Layout.preferredWidth: loginButton.Layout.preferredHeight
icon.name: "go-next"
icon.name: LayoutMirroring.enabled ? "go-previous" : "go-next"
onClicked: startLogin()
}
......
......@@ -117,7 +117,7 @@ SessionManagementScreen {
Layout.preferredHeight: passwordBox.implicitHeight
Layout.preferredWidth: text.length == 0 ? loginButton.Layout.preferredHeight : -1
icon.name: text.length == 0 ? "go-next" : ""
icon.name: text.length == 0 ? (root.LayoutMirroring.enabled ? "go-previous" : "go-next") : ""
text: root.showUsernamePrompt || userList.currentItem.needsPassword ? "" : i18n("Log In")
onClicked: startLogin();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment