mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-08-03 01:58:43 +00:00
The language preference was stored with a profile-scoped key
(selected_app_language_{profileId}), causing it to reset to English
on app restart when the active profile was not profile 1.
During startup, initialize() reads the key with default
activeProfileId=1 before the correct profile is loaded, resulting
in a cache miss and fallback to English.
App language is a device-level preference, not per-profile, so
the key should not be scoped. This also fixes replaceFromSyncPayload
to correctly clear both profile-scoped and global keys.
|
||
|---|---|---|
| .. | ||
| androidFull | ||
| androidMain | ||
| androidPlaystore/kotlin/com/nuvio/app | ||
| commonMain | ||
| commonTest/kotlin/com/nuvio/app | ||
| desktopMain/kotlin/com/nuvio/app | ||
| fullCommonMain/kotlin/com/nuvio/app/features | ||
| iosAppStore/kotlin/com/nuvio/app | ||
| iosFull/kotlin/com/nuvio/app | ||
| iosMain/kotlin/com/nuvio/app | ||
| nativeInterop/cinterop | ||