Ask before disconnecting the OBU on the V2X screen

The disconnect icon sits next to the map button and dropped the ESP32-C5 or
CiT One link on a single tap. It now opens a standard confirmation dialog first.
Connecting still needs no confirmation.

Checked on a Pixel 9 Pro (ESP32 path): Cancel, Back and rotation keep the link
and the dialog; confirming disconnects.
This commit is contained in:
Ashin Walpola
2026-10-20 17:34:21 +02:00
parent 0affa7ad26
commit d0fcb45a55
3 changed files with 35 additions and 7 deletions
+2
View File
@@ -363,4 +363,6 @@
<string name="v2xlog_share_chooser">Share V2X log</string>
<string name="v2xlog_delete_title">Delete log?</string>
<string name="v2xlog_delete_text">This permanently removes %1$s from the device.</string>
<string name="mqtt_disconnect_confirm_title">Disconnect the OBU?</string>
<string name="mqtt_disconnect_confirm_text">Live V2X data stops, and a running V2X log gets nothing, until you connect again.</string>
</resources>