NuvioStreaming/composeApp
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
..
libs update quick-js aar 2026-05-04 01:19:51 +05:30
src refactor: drop runBlocking { getString } from common repos and parsers 2026-05-13 11:06:55 -07:00
build.gradle.kts fix(image): register SvgDecoder so SVG logos actually render 2026-05-08 19:41:54 +02:00
proguard-rules.pro