feat: give window closing its own Pencereler tab
The window switch sat on the Upload Service page, which implied a relationship that does not exist: closing windows needs no ABRP token, no GPS, no upload interval, and runs in its own service whether or not uploading is on. It is now a sixth page of the pager, between Araç and Wi-Fi. Splitting it in two while it moved, because the new page has room the card did not: the switch and status stay together, and the event log gets its own card, monospaced and no longer capped at four lines. setOffscreenPageLimit switches from a hardcoded 4 to panes.length - 1. It was already one short of the page count and would have gone stale again here. refreshWindowClose runs on the two-second tick and dereferences views on a page that may not be on screen, so the pager must not be free to detach them. Six tabs share the bar where five did. Widget.EV.NavTab already autosizes down to a 12sp floor, so the labels shrink rather than truncate. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
444732438d
commit
322ebcc4c0
@@ -12,12 +12,14 @@
|
||||
<string name="window_close_no_system_uid">Bu sürüm araca yazamıyor (sistem imzası gerekli)</string>
|
||||
<string name="window_close_notification">P ve 0 km/sa: kapı açılınca dört camı kapat</string>
|
||||
<string name="window_close_disable">Kapat</string>
|
||||
<string name="window_close_log_title">Olay kaydı</string>
|
||||
<string name="app_name">Fatih\'sMG4</string>
|
||||
|
||||
<!-- Main screen -->
|
||||
<string name="tab_abrp">ABRP</string>
|
||||
<string name="tab_service">Upload Service</string>
|
||||
<string name="tab_vehicle">Araç</string>
|
||||
<string name="tab_windows">Pencereler</string>
|
||||
<string name="tab_wifi">Wi-Fi</string>
|
||||
<string name="tab_log">Log</string>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user