diff --git a/lib/infrastructure/hive/dex_pool.hive.dart b/lib/infrastructure/hive/dex_pool.hive.dart index d182eef6..aad9d60f 100644 --- a/lib/infrastructure/hive/dex_pool.hive.dart +++ b/lib/infrastructure/hive/dex_pool.hive.dart @@ -45,12 +45,12 @@ class DexPoolHive extends HiveObject { DexPoolInfosHive? details; @HiveField(5) - bool isFavorite; + bool? isFavorite; DexPool toDexPool() { return DexPool( lpTokenInUserBalance: lpTokenInUserBalance, - isFavorite: isFavorite, + isFavorite: isFavorite ?? false, poolAddress: poolAddress, lpToken: lpToken.toModel(), pair: pair.toModel(),