InfiniTime icon indicating copy to clipboard operation
InfiniTime copied to clipboard

navigation: Unset the narrative text when the icon changes

Open mmind opened this issue 7 months ago • 1 comments

Navigation narrative commonly comes only at specific intervals and at least OSMand does update the direction icon and countdown-distance way earlier.

This can lead to situations when the old narrative is displayed to a mismatched direction icon.

So after the icon changes, assume the narrative is not applicable anymore.

The flag-update in the code also happens before possibly updating the narrative, so if a new narrative text is send within the same update, this will happen just normally.

mmind avatar May 26 '25 08:05 mmind

Build size and comparison to main:

Section Size Difference
text 375860B 16B
data 948B 0B
bss 22536B 0B

Run in InfiniEmu

github-actions[bot] avatar May 27 '25 21:05 github-actions[bot]