From b3b881fa4dcfdc008b32a908677b5e5d12d49342 Mon Sep 17 00:00:00 2001 From: Tomasz Sterna Date: Wed, 1 Apr 2015 10:46:29 +0200 Subject: Visible identification of Companion app missing --- app/qml/pages/WatchPage.qml | 17 +++++++++++++++-- app/translations/pebble-es.ts | 7 ++++++- app/translations/pebble.ts | 7 ++++++- 3 files changed, 27 insertions(+), 4 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 diff --git a/app/translations/pebble-es.ts b/app/translations/pebble-es.ts index ab30bef..8f50323 100644 --- a/app/translations/pebble-es.ts +++ b/app/translations/pebble-es.ts @@ -332,11 +332,16 @@ Si esto tarda mucho, comprueba que el reloj esté emparejado correctamente. + Companion app missing + + + + Configure... Configurar... - + Uninstall Desinstalar diff --git a/app/translations/pebble.ts b/app/translations/pebble.ts index b1cbc6b..d019ecd 100644 --- a/app/translations/pebble.ts +++ b/app/translations/pebble.ts @@ -327,11 +327,16 @@ If it can't be found please check it's available and paired in Bluetoo + Companion app missing + + + + Configure... - + Uninstall -- cgit v1.2.3