mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-01-03 08:49:32 +00:00
fix: correct type checking and imports in filtered library page
- Add shelfsdk import to router.dart for Filter types - Fix Media and MediaMetadata type checking using freezed mapOrNull - Handle all Media variants (book, bookMinified, bookExpanded) - Handle all MediaMetadata variants to extract title, subtitle, and authors - Fix BookMetadata accessing authors list instead of authorName property Resolves compilation errors in GitHub Actions build.
This commit is contained in:
parent
43712643a2
commit
8300cc7571
2 changed files with 76 additions and 18 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
import 'package:shelfsdk/audiobookshelf_api.dart';
|
||||
import 'package:vaani/features/downloads/view/downloads_page.dart';
|
||||
import 'package:vaani/features/explore/view/explore_page.dart';
|
||||
import 'package:vaani/features/explore/view/search_result_page.dart';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue