diff options
Diffstat (limited to 'app/qml/pages/WatchPage.qml')
| -rw-r--r-- | app/qml/pages/WatchPage.qml | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/app/qml/pages/WatchPage.qml b/app/qml/pages/WatchPage.qml index 7ccf12a..6c24ef0 100644 --- a/app/qml/pages/WatchPage.qml +++ b/app/qml/pages/WatchPage.qml @@ -174,7 +174,7 @@ Page { color: slotDelegate.highlighted ? Theme.highlightColor : Theme.primaryColor } color: "transparent" - visible: (isEmptySlot || !isLocalApp) && !slotBusy.running + visible: isEmptySlot && !slotBusy.running } BusyIndicator { @@ -194,7 +194,7 @@ Page { verticalCenter: parent.verticalCenter } text: isEmptySlot ? qsTr("(empty slot)") : (isKnownApp ? (isLocalApp ? appInfo.longName : appInfo.shortName) : qsTr("(slot in use by unknown app)")) - color: slotDelegate.highlighted ? Theme.highlightColor : Theme.primaryColor + color: slotDelegate.highlighted ? Theme.highlightColor : (isLocalApp ? Theme.primaryColor : Theme.secondaryColor ) onTextChanged: slotDelegate.busy = false; } @@ -206,6 +206,19 @@ Page { visible: isEmptySlot onClicked: install(); } + Label { + text: qsTr("Companion app missing") + color: Theme.secondaryColor + horizontalAlignment: Text.Center + font.pixelSize: Theme.fontSizeSmall + visible: !isEmptySlot && !isLocalApp + anchors { + left: parent.left + right: parent.right + } + height: Theme.itemSizeSmall + verticalAlignment : Text.AlignVCenter + } MenuItem { text: qsTr("Configure...") visible: !isEmptySlot && isLocalApp |
