summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/Notification.qml8
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