Improve scroll bar of favorites page.

This commit is contained in:
2025-03-09 12:55:36 +08:00
parent dbc2c27db0
commit 00c0a64de0
2 changed files with 172 additions and 6 deletions

View File

@@ -518,11 +518,9 @@ class _LocalFavoritesPageState extends State<_LocalFavoritesPage> {
),
],
);
body = Scrollbar(
body = AppScrollBar(
topPadding: 48,
controller: scrollController,
thickness: App.isDesktop ? 8 : 12,
radius: const Radius.circular(8),
interactive: true,
child: ScrollConfiguration(
behavior: ScrollConfiguration.of(context).copyWith(scrollbars: false),
child: body,