Make sure right tutorial gets skipped if spread has been shown
This also fixed test flakiness
commitf99e28fa2dbc181c924600e14dae1dcb45573d10
authorMarius Gripsgard <marius@ubports.com>
dateSun 15 Sep 2019, 02:02 (7 years ago)
parent35dc0ed
qml/Tutorial/TutorialRight.qml+1−1
@@ -24,7 +24,7 @@ TutorialPage {
2424 property string usageScenario
2525
2626 // When on phone or tablet, fade out as the drag progresses
27− opacityOverride: usageScenario === "desktop" ? 1 : 1 - stage.rightEdgeDragProgress * 2
27+ opacityOverride: stage.spreadShown ? 0 : usageScenario === "desktop" ? 1 : 1 - stage.rightEdgeDragProgress * 2
2828
2929 Connections {
3030 target: stage