stadiamaps / ferrostar

A FOSS navigation SDK built from the ground up for the future
https://stadiamaps.github.io/ferrostar/
Other
184 stars 24 forks source link

Fix state flow of mute UI updates on Android #351

Closed ianthetechie closed 3 weeks ago

ianthetechie commented 3 weeks ago

Another small bug fix. This one a bit more obvious.

In the present design, the UI state of the view model is exclusively from FerrostarCore's state. But the mute button being pressed is certainly a state update worth knowing about ;) This is less obvious of a problem when you're moving around, but very obvious when you're stationary / go inside, since the UI will appear to freeze until there's a navigation related update.