Display the contact name on appmenu call pickup entry

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
Stacy Harper 2021-03-17 19:55:12 +01:00 committed by Maarten van Gompel
parent 378fe01738
commit e13ff5c721

View file

@ -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