@@ -97,19 +97,36 @@ Loader {
9797 Component {
9898 id: pinLock
9999
100− Lockscreen {
101− anchors.left: parent.left; anchors.right: parent.right
100+ Item {
102101 height: menuFactory.maxHeight
103− placeholderText: i18n.tr("Please enter SIM PIN")
104− background: shell.background
102+ anchors.left: parent.left
103+ anchors.right: parent.right
104+
105+ Rectangle {
106+ // In case background fails to load or is undefined
107+ anchors.fill: parent
108+ color: "black"
109+ }
105110
106− onEntered: {
107− menuModel.changeState(menuIndex, passphrase);
108− entryEnabled = false;
111+ Image {
112+ objectName: "lockscreenBackground"
113+ anchors.fill: parent
114+ source: shell.background
115+ fillMode: Image.PreserveAspectCrop
109116 }
110117
111− onCancel: {
112− menuModel.activate(menuIndex, false);
118+ Lockscreen {
119+ anchors.fill: parent
120+ placeholderText: i18n.tr("Please enter SIM PIN")
121+
122+ onEntered: {
123+ menuModel.changeState(menuIndex, passphrase);
124+ entryEnabled = false;
125+ }
126+
127+ onCancel: {
128+ menuModel.activate(menuIndex, false);
129+ }
113130 }
114131 }
115132 }