mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-10-20 22:41:38 +02:00
MainActivitySafIo and SafDownloadHandler each defined an identical errorJson. Keep one internal top-level function in MainActivitySafIo and drop the private copy. errorJson, isMediaStoreUri, extFromFileName and extFromMimeType never used their MainActivity receiver, so they become plain top-level functions; call sites are unchanged. Rust is the only backend. Rename the iOS invokeGoMethod, which dispatches the OS-owned channel methods, to invokeOsMethod, and reword the comments that still described Go calls, the Go progress stream, the Go metadata reader or a "native migration boundary" so they describe the current backend. Channel method names and reply keys are unchanged.