From e13ff5c7210b057597daf1aec6e7cab9f27976c6 Mon Sep 17 00:00:00 2001 From: Stacy Harper Date: Wed, 17 Mar 2021 19:55:12 +0100 Subject: [PATCH] Display the contact name on appmenu call pickup entry Signed-off-by: Stacy Harper Signed-off-by: Maarten van Gompel --- scripts/core/sxmo_appmenu.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/core/sxmo_appmenu.sh b/scripts/core/sxmo_appmenu.sh index 5f2d063..8e0a766 100755 --- a/scripts/core/sxmo_appmenu.sh +++ b/scripts/core/sxmo_appmenu.sh @@ -418,8 +418,9 @@ getprogchoices() { #shellcheck disable=SC2044 for NOTIFFILE in $(find "$NOTIFDIR" -name 'incomingcall*_notification'); do NOTIFACTION="$(head -n1 "$NOTIFFILE")" + MESSAGE="$(tail -1 "$NOTIFFILE")" CHOICES=" - $icon_phn Pick up incoming call ^ 0 ^ $NOTIFACTION + $icon_phn $MESSAGE ^ 0 ^ $NOTIFACTION $CHOICES " break