From 9a9791be50aace59bbb874f97bb338af00d9e8e1 Mon Sep 17 00:00:00 2001 From: yuni Date: Mon, 18 Nov 2024 00:50:00 +0100 Subject: [PATCH] add app icons to Phone and Map --- src/menu.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/menu.rs b/src/menu.rs index 606bfac..7b6407a 100644 --- a/src/menu.rs +++ b/src/menu.rs @@ -65,11 +65,11 @@ pub enum DeathScreenEvent { } pub const MENUDEF: &[(&str, MenuAction)] = &[ - ("Phone Call", MenuAction::PhoneCall), + ("✆ Phone", MenuAction::PhoneCall), + ("✯ Map\n", MenuAction::ToggleMap), ("", MenuAction::ToggleAR), ("", MenuAction::ChangeARAvatar), ("", MenuAction::ChangePointer), - ("", MenuAction::ToggleMap), ("", MenuAction::ModLightAmp), ("", MenuAction::ModFlashlightPower), ("", MenuAction::ModThrusterBoost), @@ -600,10 +600,6 @@ pub fn update_menu( } } } - MenuAction::ToggleMap => { - let onoff = bool2string(settings.map_active); - text.sections[i].value = format!("Map: {onoff} [M]\n"); - } MenuAction::ToggleCamera => { let onoff = if settings.third_person { "3rd Person"