diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2020-03-18 22:18:58 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2020-03-21 04:13:58 +0000 |
commit | 199306de52ddd5b91a09db6a090eca6d61550568 (patch) | |
tree | 07aa99abbe7f63ccd4fe3c6bd1adf750b537de28 | |
parent | 1cd871449bca3f16c7f3c1fa051da7543f6ccc10 (diff) |
messaging: display number if no name is presenticefish_9.0.4icefish_9.0.3icefish_9.0.2icefish_9.0.1icefish/9.0.4icefish/9.0.3icefish/9.0.2icefish/9.0.19.0.49.0.39.0.29.0.1icefish
When no name is sent in notification event use the phone
number instead.
Bug-AGL: SPEC-3267
Change-Id: I8c553c502dccf12169a4a650b2ca79a35ef8fdf8
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
-rw-r--r-- | app/Notification.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/Notification.qml b/app/Notification.qml index f283b76..ac6b360 100644 --- a/app/Notification.qml +++ b/app/Notification.qml @@ -37,11 +37,19 @@ Item { } } Label { + visible: name text: '<b>' + name + '</b>' font.pixelSize: 42 wrapMode: Text.WordWrap } Label { + visible: name === undefined + text: '<b>' + number + '</b>' + font.pixelSize: 42 + wrapMode: Text.WordWrap + } + + Label { text: message anchors.margins: 5 anchors.left: parent.left |