refactor: animate bottom sheet (#19655)

* refactor: animate bottom sheet

* rebase on main

---------

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
shenlong
2025-07-01 08:53:38 +05:30
committed by GitHub
parent a3d588f6bd
commit a5c431fbf5
2 changed files with 96 additions and 71 deletions

View File

@@ -31,8 +31,9 @@ class HomeBottomAppBar extends ConsumerWidget {
return BaseBottomSheet(
initialChildSize: 0.25,
minChildSize: 0.22,
expand: false,
actions: [
const ShareActionButton(),
if (multiselect.isEnabled) const ShareActionButton(),
if (multiselect.hasRemote) ...[
const ShareLinkActionButton(source: ActionSource.timeline),
const ArchiveActionButton(source: ActionSource.timeline),