@@ -241,17 +241,17 @@ FocusScope {
241 text: i18n.tr("Try swiping from the top edge to access the indicators")
241 text: i18n.tr("Try swiping from the top edge to access the indicators")
242 anchors.fill: dash
242 anchors.fill: dash
243 visible: false
243 visible: false
244− enabled: shell.showEdgeDemo
244+ available: shell.showEdgeDemo
245 onSkip: shell.hideEdgeDemo()
245 onSkip: shell.hideEdgeDemo()
247 Connections {
247 Connections {
248 target: greeter
248 target: greeter
249− onShownChanged: if (!greeter.shown) topEdgeDemo.visible = true
249+ onShownChanged: if (!greeter.shown) topEdgeDemo.show()
252 Connections {
252 Connections {
253 target: panel.indicators
253 target: panel.indicators
254− onFullyOpenedChanged: if (panel.indicators.fullyOpened) topEdgeDemo.enabled = false
254+ onFullyOpenedChanged: if (panel.indicators.fullyOpened) topEdgeDemo.hideNow()
@@ -263,17 +263,17 @@ FocusScope {
263 text: i18n.tr("Swipe from the left to reveal the launcher for quick access to apps")
263 text: i18n.tr("Swipe from the left to reveal the launcher for quick access to apps")
264 anchors.fill: dash
264 anchors.fill: dash
265 visible: false
265 visible: false
266− enabled: shell.showEdgeDemo
266+ available: shell.showEdgeDemo
267 onSkip: shell.hideEdgeDemo()
267 onSkip: shell.hideEdgeDemo()
269 Connections {
269 Connections {
270 target: bottomEdgeDemo
270 target: bottomEdgeDemo
271− onActiveChanged: if (!bottomEdgeDemo.active) leftEdgeDemo.visible = true
271+ onActiveChanged: if (!bottomEdgeDemo.active) leftEdgeDemo.show()
274 Connections {
274 Connections {
275 target: launcher
275 target: launcher
276− onProgressChanged: if (launcher.progress >= 1.0) leftEdgeDemo.enabled = false
276+ onStateChanged: if (launcher.state == "visible") leftEdgeDemo.hide()
@@ -548,7 +548,7 @@ FocusScope {
549 function hide() {
549 function hide() {
550 if (rightEdgeDemo.active) {
550 if (rightEdgeDemo.active) {
551− rightEdgeDemo.enabled = false
551+ rightEdgeDemo.hide()
552 shell.hideEdgeDemoInGreeter()
552 shell.hideEdgeDemoInGreeter()
@@ -629,13 +629,13 @@ FocusScope {
629 text: i18n.tr("Swipe up again to close the settings screen")
629 text: i18n.tr("Swipe up again to close the settings screen")
630 anchors.fill: panel.indicators
630 anchors.fill: panel.indicators
631 visible: false
631 visible: false
632− enabled: shell.showEdgeDemo
632+ available: shell.showEdgeDemo
633 onSkip: shell.hideEdgeDemo()
633 onSkip: shell.hideEdgeDemo()
635 Connections {
635 Connections {
636 target: panel.indicators
636 target: panel.indicators
637− onFullyOpenedChanged: if (panel.indicators.fullyOpened) bottomEdgeDemo.visible = true
637+ onFullyOpenedChanged: if (panel.indicators.fullyOpened) bottomEdgeDemo.show()
638− onPartiallyOpenedChanged: if (!panel.indicators.partiallyOpened && !panel.indicators.fullyOpened) bottomEdgeDemo.enabled = false
638+ onPartiallyOpenedChanged: if (!panel.indicators.partiallyOpened && !panel.indicators.fullyOpened) bottomEdgeDemo.hideNow()
@@ -771,15 +771,17 @@ FocusScope {
771 skipText: i18n.tr("Finish")
771 skipText: i18n.tr("Finish")
772 anchors.fill: overlay
772 anchors.fill: overlay
773 visible: false
773 visible: false
774− enabled: shell.showEdgeDemo
774+ available: shell.showEdgeDemo
777− shell.hideEdgeDemo();
775+ onSkip: shell.hideEdgeDemo()
780 Connections {
777 Connections {
781 target: leftEdgeDemo
778 target: leftEdgeDemo
782− onActiveChanged: if (!leftEdgeDemo.active) finalEdgeDemo.visible = true
780+ if (!leftEdgeDemo.active) {
781+ finalEdgeDemo.show();