@@ -97,19 +97,36 @@ Loader {
97 Component {
97 Component {
98 id: pinLock
98 id: pinLock
100− Lockscreen {
100+ Item {
101− anchors.left: parent.left; anchors.right: parent.right
102 height: menuFactory.maxHeight
101 height: menuFactory.maxHeight
103− placeholderText: i18n.tr("Please enter SIM PIN")
102+ anchors.left: parent.left
104− background: shell.background
103+ anchors.right: parent.right
106+ // In case background fails to load or is undefined
107+ anchors.fill: parent
106− onEntered: {
111+ Image {
107− menuModel.changeState(menuIndex, passphrase);
112+ objectName: "lockscreenBackground"
108− entryEnabled = false;
113+ anchors.fill: parent
114+ source: shell.background
115+ fillMode: Image.PreserveAspectCrop
119+ anchors.fill: parent
120+ placeholderText: i18n.tr("Please enter SIM PIN")
123+ menuModel.changeState(menuIndex, passphrase);
124+ entryEnabled = false;
111− onCancel: {
127+ onCancel: {
112− menuModel.activate(menuIndex, false);
128+ menuModel.activate(menuIndex, false);