mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2025-12-14 15:09:29 +00:00
refactor: update cover image handling to use item IDs and simplify library item actions
This commit is contained in:
parent
d25d23a0b7
commit
405d625cdc
15 changed files with 305 additions and 362 deletions
|
|
@ -1,7 +1,5 @@
|
|||
// a freezed class to store the settings of the app
|
||||
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:freezed_annotation/freezed_annotation.dart';
|
||||
import 'package:shelfsdk/audiobookshelf_api.dart';
|
||||
|
||||
|
|
@ -17,7 +15,6 @@ class LibraryItemExtras with _$LibraryItemExtras {
|
|||
const factory LibraryItemExtras({
|
||||
BookMinified? book,
|
||||
@Default('') String heroTagSuffix,
|
||||
Uint8List? coverImage,
|
||||
}) = _LibraryItemExtras;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue