mirror of
https://github.com/FluxaMedia/fluxa.git
synced 2026-08-05 00:08:56 +00:00
AndroidDiscoverDataSource duplicated catalog+genre resolution logic in Kotlin instead of calling discoverSelectionPlan, the same shared Rust function fluxa-desktop already relies on for this. Route Android through it too: one implementation for both platforms, and it's more robust than the Kotlin version since it treats whichever extra a catalog lists first as the filterable dimension generically, not just one literally named "genre". Add DiscoverCatalogOption.extras (carrying each raw catalog extra: name/options/default/isRequired) and CatalogExtra.default, both needed for the plan call and previously missing from the addon manifest models entirely -- the actual bug hunted down across this and the two preceding core commits was that "default" was dropped at manifest-parse time in Rust, so no amount of Kotlin plumbing could have surfaced it. |
||
|---|---|---|
| .. | ||
| schemas | ||
| src | ||
| build.gradle.kts | ||