fluxa/app
KhooLy cfc03cba00 fix: sync Android navigation state with in-app destination changes
MainActivity kept its own currentDestination alongside FluxaAppHost's
internal appState.uiState.destination, with only a one-way sync
(external -> internal). Any purely-internal navigation (bottom nav
taps, "switch profiles" from Settings) moved appState's destination
without MainActivity's copy ever finding out. If a later external
navigation call (e.g. profile selection completing) happened to name
a destination MainActivity's stale copy already equaled, it was
treated as a no-op and silently dropped -- reproducible by going
Settings -> Switch profiles -> tapping a profile, which then did
nothing.

Add a callback that mirrors appState's destination back out to
MainActivity whenever it changes internally, and guard the existing
external->internal effect so it only re-applies on a genuine change
(avoiding a reset loop that would otherwise wipe editingProfile/
selectedDetail/etc. on every round trip).

Also account for showProfilePickerSettings in the screen transition
key, which was missing and left the profile picker settings screen
keyed identically to whatever destination was active underneath it.
2026-07-28 02:23:47 +03:00
..
schemas Initial commit 2026-06-05 14:43:08 +03:00
src fix: sync Android navigation state with in-app destination changes 2026-07-28 02:23:47 +03:00
build.gradle.kts feat: improve Nuvio import and app experience 2026-07-22 01:07:52 +03:00
compose-stability.conf Make cards skippable and stop focus-driven card rebuilds 2026-07-02 00:44:22 +03:00
proguard-rules.pro Replace TorrServer namings with Native torrent engine 2026-07-14 16:57:20 +03:00