Skip to content

Commit

Permalink
🐛 Fix: removed const
Browse files Browse the repository at this point in the history
  • Loading branch information
devaryakjha committed Oct 23, 2023
1 parent bf43982 commit f61c94f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/features/user-library/cubit/user_library_state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class UserLibraryLoaded extends UserLibraryState {

UserLibrary get favorite => library.firstWhere(
(library) => library.id == Favorite.boxKey,
orElse: () => const Favorite.empty(),
orElse: () => Favorite.empty(),
);

bool get isEmpty => library.isEmpty;
Expand Down

0 comments on commit f61c94f

Please sign in to comment.