Removed circular search animation

This commit is contained in:
Juan Gilsanz Polo
2024-02-29 21:51:22 +01:00
parent 2574ffc2f0
commit 67a9922275
3 changed files with 7 additions and 10 deletions

View File

@@ -22,6 +22,7 @@ class BookmarkItem extends ConsumerWidget {
final void Function(Bookmark bookmark) onShareInternally;
final bool selected;
final bool tabletMode;
final Color? tileBackgroundColor;
const BookmarkItem({
super.key,
@@ -34,6 +35,7 @@ class BookmarkItem extends ConsumerWidget {
required this.onShareInternally,
required this.selected,
required this.tabletMode,
this.tileBackgroundColor,
});
@override
@@ -108,7 +110,7 @@ class BookmarkItem extends ConsumerWidget {
child: Material(
color: selected && tabletMode
? Theme.of(context).colorScheme.primaryContainer
: Theme.of(context).colorScheme.surface,
: tileBackgroundColor ?? Theme.of(context).colorScheme.surface,
child: InkWell(
onTap: () => onSelect(bookmark),
child: Padding(