NuvioStreaming/composeApp/src
Aniket Tuli 62d38f74f8 refactor: drop runBlocking { getString } from common repos and parsers
Replaces 23 of 41 runBlocking { getString } sites in commonMain across
the meta-details, collection, Trakt, profile, and TMDB code paths.
Wrapping suspend getString in runBlocking blocks the calling thread on
every property read or recomposition and deadlocks on Kotlin/JS.

Three patterns: propagate suspend up call chains that were already
fully suspend; mark non-Composable helpers @Composable + use
stringResource; and where the call sat in a data-class property
getter, use a literal English fallback (fires only on degenerate
addon manifests with no name and no URL-derived slug).

Also fixes MetaTrailer.type defaulting to a localized "Trailer"
string when missing — UI already handles blank type with a localized
fallback at render time, so the eager localization mismatched
grouping/sort keys across locales.

The 18 remaining sites are in androidMain platform-bridge callbacks
(OkHttp / ExoPlayer / NotificationManager) and are tracked as a
follow-up.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 11:06:55 -07:00
..
androidFull feat: support for external player 2026-05-13 13:27:12 +05:30
androidMain Merge branch 'NuvioMedia:cmp-rewrite' into indonesian-locale 2026-05-13 15:17:10 +07:00
androidPlaystore/kotlin/com/nuvio/app feat: in app updater 2026-04-19 01:15:39 +05:30
commonMain refactor: drop runBlocking { getString } from common repos and parsers 2026-05-13 11:06:55 -07:00
commonTest/kotlin/com/nuvio/app refactor: drop runBlocking { getString } from common repos and parsers 2026-05-13 11:06:55 -07:00
desktopMain/kotlin/com/nuvio/app feat: in app updater 2026-04-19 01:15:39 +05:30
fullCommonMain/kotlin/com/nuvio/app/features feat: add followRedirects support to httpRequestRaw and PluginRuntime 2026-05-06 20:11:29 +05:30
iosAppStore/kotlin/com/nuvio/app feat: in app updater 2026-04-19 01:15:39 +05:30
iosFull/kotlin/com/nuvio/app feat: in app updater 2026-04-19 01:15:39 +05:30
iosMain/kotlin/com/nuvio/app feat: support for external player 2026-05-13 13:27:12 +05:30
nativeInterop/cinterop feat(crypto): Implement cross-platform cryptographic functions and integrate with native interop 2026-04-02 12:52:57 +05:30