add app icons to Phone and Map

This commit is contained in:
yuni 2024-11-18 00:50:00 +01:00
parent 3624adb8d0
commit 9a9791be50

View file

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