From 153d605bb668a8d1a8b72cc37b53fff6564f7090 Mon Sep 17 00:00:00 2001 From: demmm Date: Thu, 14 May 2020 23:11:05 +0200 Subject: [PATCH] [welcomeq] use negatedText for better text on missing --- src/modules/welcomeq/Recommended.qml | 2 +- src/modules/welcomeq/Requirements.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/welcomeq/Recommended.qml b/src/modules/welcomeq/Recommended.qml index 3fedb3282..7144cbd9a 100644 --- a/src/modules/welcomeq/Recommended.qml +++ b/src/modules/welcomeq/Recommended.qml @@ -79,7 +79,7 @@ Rectangle { } Text { - text: ( satisfied ? 'Met: ' : 'Missing: ' ) + name + " " + details + text: satisfied ? details : negatedText anchors.centerIn: parent font.pointSize: 11 } diff --git a/src/modules/welcomeq/Requirements.qml b/src/modules/welcomeq/Requirements.qml index a1f318532..00a045041 100644 --- a/src/modules/welcomeq/Requirements.qml +++ b/src/modules/welcomeq/Requirements.qml @@ -79,7 +79,7 @@ Rectangle { } Text { - text: ( mandatory ? 'Met: ' : 'Failed: ' ) + name + " " + details + text: mandatory ? details : negatedText anchors.centerIn: parent font.pointSize: 11 }