From f61c94fcd83ea0f75fe6b85487f39c89f08043f8 Mon Sep 17 00:00:00 2001 From: devaryakjha Date: Mon, 23 Oct 2023 21:58:10 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix:=20removed=20const?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/features/user-library/cubit/user_library_state.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/features/user-library/cubit/user_library_state.dart b/lib/features/user-library/cubit/user_library_state.dart index 467bc3e..5d70a87 100644 --- a/lib/features/user-library/cubit/user_library_state.dart +++ b/lib/features/user-library/cubit/user_library_state.dart @@ -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;