基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。
fix previous fix
Predidit38f6f8ba4b0a
diff --git a/lib/bean/widget/collect_button.dart b/lib/bean/widget/collect_button.dartindex 2af09de5..80e59af4 100644--- a/lib/bean/widget/collect_button.dart+++ b/lib/bean/widget/collect_button.dart@@ -122,9 +122,7 @@ class _CollectButtonState extends State<CollectButton> {onSelected: (value) {if (value != collectType && mounted) {collectController.addCollect(widget.bangumiItem, type: value);- setState(() {- collectType = value;- });+ setState(() {});}},);@@ -149,7 +147,8 @@ class NonClickableIconButton extends StatelessWidget {Widget build(BuildContext context) {final Color effectiveBackgroundColor =backgroundColor ?? Theme.of(context).colorScheme.secondaryContainer;- final Color effectiveIconColor = iconColor ?? Theme.of(context).colorScheme.onPrimaryContainer;+ final Color effectiveIconColor =+ iconColor ?? Theme.of(context).colorScheme.onPrimaryContainer;return Container(padding: EdgeInsets.all(padding),decoration: BoxDecoration(diff --git a/lib/pages/collect/collect_controller.dart b/lib/pages/collect/collect_controller.dartindex 42792d3a..01728647 100644--- a/lib/pages/collect/collect_controller.dart+++ b/lib/pages/collect/collect_controller.dart@@ -41,9 +41,6 @@ abstract class _CollectController with Store {}CollectedBangumi collectedBangumi =CollectedBangumi(bangumiItem, DateTime.now(), type);- if (getCollectType(bangumiItem) != 0) {- await deleteCollect(bangumiItem);- }await GStorage.collectibles.put(bangumiItem.id, collectedBangumi);await GStorage.collectibles.flush();loadCollectibles();