3d9fc071578cd73ad20fbd36bf1fc6cda3a9361e — Stacy Harper 3 months ago dbca3dd
Prevent the incomingcallmenu to go futher if the menu failed

This can happen if an call come while a menu already is open of if the
user kill the dmenu with a top side gesture.

We dont want the notification to be purged to allow the user to manually
open it with the notification appmenu so we have to stop the code here.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
1 files changed, 1 insertions(+), 1 deletions(-)

M scripts/modem/sxmo_modemcall.sh
M scripts/modem/sxmo_modemcall.sh => scripts/modem/sxmo_modemcall.sh +1 -1
@@ 237,7 237,7 @@ incomingcallmenu() {
		printf %b "$icon_phn Pickup\n$icon_phx Hangup\n$icon_mut Mute\n" |
		dmenu -c -l 5 -p "$CONTACTNAME"
	)" || exit

	if echo "$PICKED" | grep -q "Pickup"; then
		pickup "$1"