mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-10-06 03:38:23 +00:00
Shared exits that block the most screens, cut before the next screen wave: - Nip11CachedRetriever and RetrieveResult move to commons/commonMain over a Nip11Fetcher interface; the OkHttp Nip11Retriever implements it in jvmAndroid, and a jvmAndroid Nip11CachedRetriever(okHttpClient) function keeps existing call sites. The error enum is now Nip11ErrorCode. - LocalCacheHost exposes the app's nip11Cache (an offline one by default), so the 26 Amethyst.instance.nip11Cache reads, loadRelayInfo and WarmNip11 among them, go through LocalCache.appHost instead of the Android application. - 21 app files switch from the app's stringRes/pluralStringRes aliases to the commonsUI ones; the files that still pass Android R.string ids keep the app overloads. - ic_compose, github, ic_qrcode, relays, original and ic_tor are now also Compose resources, and painterRes(R.drawable.x) calls use the shared painterRes. The Android copies stay where the manifest, shortcuts or other R.drawable references still need them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S7FuNBSKiyVecARSoE4B9P