mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
Fixed the update time was not updated after checking.
This commit is contained in:
@@ -185,6 +185,18 @@ class FavoriteItemWithUpdateInfo extends FavoriteItem {
|
|||||||
var sourceName = type.comicSource?.name ?? "Unknown";
|
var sourceName = type.comicSource?.name ?? "Unknown";
|
||||||
return "$updateTime | $sourceName";
|
return "$updateTime | $sourceName";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
operator ==(Object other) {
|
||||||
|
return other is FavoriteItemWithUpdateInfo &&
|
||||||
|
other.updateTime == updateTime &&
|
||||||
|
other.hasNewUpdate == hasNewUpdate &&
|
||||||
|
super == other;
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
int get hashCode =>
|
||||||
|
super.hashCode ^ updateTime.hashCode ^ hasNewUpdate.hashCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
class LocalFavoritesManager with ChangeNotifier {
|
class LocalFavoritesManager with ChangeNotifier {
|
||||||
|
Reference in New Issue
Block a user