Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ErBWs committed Jan 6, 2025
1 parent 28859ae commit 6acf359
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 8 deletions.
17 changes: 13 additions & 4 deletions lib/bean/card/bangumi_info_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,19 @@ class _BangumiInfoCardVState extends State<BangumiInfoCardV> {
fadeOutDuration: const Duration(milliseconds: 0),
),
Positioned(
right: 5,
bottom: 5,
child:
CollectButton(bangumiItem: widget.bangumiItem)),
right: 5,
bottom: 5,
child: Container(
// padding: EdgeInsets.all(padding),
decoration: BoxDecoration(
color: Theme.of(context)
.colorScheme
.secondaryContainer,
shape: BoxShape.circle,
),
child:
CollectButton(bangumiItem: widget.bangumiItem)),
),
],
);
}),
Expand Down
17 changes: 13 additions & 4 deletions lib/pages/collect/collect_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,19 @@ class _CollectPageState extends State<CollectPage>
right: 5,
bottom: 5,
child: showDelete
? CollectButton(
bangumiItem:
collectedBangumiRenderItem[index]
.bangumiItem)
? Container(
// padding: EdgeInsets.all(padding),
decoration: BoxDecoration(
color: Theme.of(context)
.colorScheme
.secondaryContainer,
shape: BoxShape.circle,
),
child: CollectButton(
bangumiItem:
collectedBangumiRenderItem[index]
.bangumiItem),
)
: Container(),
),
],
Expand Down

0 comments on commit 6acf359

Please sign in to comment.