Code Review
/
apps
/
homescreen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
homescreen.pro: Use system() to figure out where to pull the protocol
[apps/homescreen.git]
/
homescreen
/
qml
/
SpeechChrome.qml
diff --git
a/homescreen/qml/SpeechChrome.qml
b/homescreen/qml/SpeechChrome.qml
index
ab46cb6
..
123928c
100644
(file)
--- a/
homescreen/qml/SpeechChrome.qml
+++ b/
homescreen/qml/SpeechChrome.qml
@@
-7,6
+7,7
@@
Item {
clip: true
property bool agentPresent: speechChromeController.agentPresent
clip: true
property bool agentPresent: speechChromeController.agentPresent
+ property string agentName: speechChromeController.agentName
visible: agentPresent
visible: agentPresent
@@
-33,7
+34,7
@@
Item {
anchors.left: parent.left
anchors.leftMargin: parent.width / 128
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left
anchors.leftMargin: parent.width / 128
anchors.verticalCenter: parent.verticalCenter
- source: "./images/SpeechChrome/push_to_talk.svg"
+ source:
agentName === "Alexa" ? "./images/SpeechChrome/push_to_talk_alexa.png" :
"./images/SpeechChrome/push_to_talk.svg"
MouseArea {
anchors.fill: parent
MouseArea {
anchors.fill: parent
@@
-54,7
+55,7
@@
Item {
anchors.right: parent.right
anchors.rightMargin: parent.width / 128
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right
anchors.rightMargin: parent.width / 128
anchors.verticalCenter: parent.verticalCenter
- source: "./images/SpeechChrome/push_to_talk.svg"
+ source:
agentName === "Alexa" ? "./images/SpeechChrome/push_to_talk_alexa.png" :
"./images/SpeechChrome/push_to_talk.svg"
MouseArea {
anchors.fill: parent
MouseArea {
anchors.fill: parent