mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
chore: small cleanup
This commit is contained in:
parent
44c3763848
commit
4ffba50330
2 changed files with 4 additions and 3 deletions
|
|
@ -21,6 +21,7 @@ class LibraryFiltersModel with _$LibraryFiltersModel {
|
|||
factory LibraryFiltersModel._internal({
|
||||
required String id,
|
||||
required String name,
|
||||
// ignore: unused_element
|
||||
@Default(false) isFavourite,
|
||||
required List<String> ids,
|
||||
required Map<String, bool> genres,
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ class LibrarySavedFiltersDialogue extends ConsumerWidget {
|
|||
IconButton.filledTonal(
|
||||
tooltip: context.localized.updateFilterForLibrary,
|
||||
onPressed: () => provider.updateFilter(filter),
|
||||
icon: Icon(IconsaxBold.refresh),
|
||||
icon: const Icon(IconsaxBold.refresh),
|
||||
),
|
||||
IconButton.filledTonal(
|
||||
tooltip: context.localized.delete,
|
||||
|
|
@ -110,7 +110,7 @@ class LibrarySavedFiltersDialogue extends ConsumerWidget {
|
|||
foregroundColor:
|
||||
WidgetStatePropertyAll(Theme.of(context).colorScheme.onErrorContainer),
|
||||
),
|
||||
icon: Icon(IconsaxOutline.trash),
|
||||
icon: const Icon(IconsaxOutline.trash),
|
||||
),
|
||||
].addInBetween(const SizedBox(width: 8)),
|
||||
),
|
||||
|
|
@ -138,7 +138,7 @@ class LibrarySavedFiltersDialogue extends ConsumerWidget {
|
|||
const SizedBox(width: 6),
|
||||
FilledButton.tonal(
|
||||
onPressed: () => provider.saveFiltersNew(controller.text),
|
||||
child: Icon(IconsaxOutline.save_2),
|
||||
child: const Icon(IconsaxOutline.save_2),
|
||||
),
|
||||
],
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue