mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-10 00:16:59 +00:00
The download/save-to-local button handed the raw content URL straight to OkHttp. For BUD-10 `blossom:` URIs this failed with "expected scheme http or https but was blossom" because OkHttp only speaks http/https. Resolve `blossom:` URIs to a concrete server URL via BlossomServerResolver (the same resolver the Coil/ExoPlayer pipeline uses) before downloading, in both save entry points (AccountViewModel.saveMediaToGallery and the zoomable dialog's save action). When no hosting server can be found, the save reports an error instead of crashing. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BawgXifvcPidMMqJ719Ka2