From fd8530e971f7a1c67ead6bc7c81829048d54ea1b Mon Sep 17 00:00:00 2001 From: ErBW_s Date: Mon, 13 Jan 2025 01:15:07 +0800 Subject: [PATCH 1/2] fix phone collect button background is larger than icon --- lib/bean/card/bangumi_info_card.dart | 3 ++- lib/pages/collect/collect_page.dart | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/bean/card/bangumi_info_card.dart b/lib/bean/card/bangumi_info_card.dart index 4e0ffcd2..b5fe0c64 100644 --- a/lib/bean/card/bangumi_info_card.dart +++ b/lib/bean/card/bangumi_info_card.dart @@ -53,7 +53,8 @@ class _BangumiInfoCardVState extends State { right: 5, bottom: 5, child: Container( - // padding: EdgeInsets.all(padding), + width: 40, + height: 40, decoration: BoxDecoration( color: Theme.of(context) .colorScheme diff --git a/lib/pages/collect/collect_page.dart b/lib/pages/collect/collect_page.dart index b41d7d86..1a518a1d 100644 --- a/lib/pages/collect/collect_page.dart +++ b/lib/pages/collect/collect_page.dart @@ -150,7 +150,8 @@ class _CollectPageState extends State bottom: 5, child: showDelete ? Container( - // padding: EdgeInsets.all(padding), + width: 40, + height: 40, decoration: BoxDecoration( color: Theme.of(context) .colorScheme From af6f6a44263580f89c99b487a00c622fd3744d6f Mon Sep 17 00:00:00 2001 From: AnchialC Date: Mon, 13 Jan 2025 15:43:24 +0800 Subject: [PATCH 2/2] fix #598(pause before hide player) --- lib/pages/player/player_item.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pages/player/player_item.dart b/lib/pages/player/player_item.dart index d1290e92..971db5ee 100644 --- a/lib/pages/player/player_item.dart +++ b/lib/pages/player/player_item.dart @@ -668,6 +668,7 @@ class _PlayerItemState extends State videoPageController.isFullscreen = !videoPageController.isFullscreen; } else if (!Platform.isMacOS) { + playerController.pause(); windowManager.hide(); } }