fix: Small bugfixes (#303)

Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
PartyDonut 2025-04-06 14:40:58 +02:00 committed by GitHub
parent d96cafecff
commit 5bf4579a49
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 48 additions and 51 deletions

View file

@ -94,6 +94,7 @@ class _DashboardScreenState extends ConsumerState<DashboardScreen> {
controller: AdaptiveLayout.scrollOf(context),
physics: const AlwaysScrollableScrollPhysics(),
slivers: [
const DefaultSliverTopBadding(),
if (AdaptiveLayout.viewSizeOf(context) == ViewSize.phone)
NestedSliverAppBar(
route: LibrarySearchRoute(),
@ -107,7 +108,6 @@ class _DashboardScreenState extends ConsumerState<DashboardScreen> {
),
),
},
const DefaultSliverTopBadding(),
if (AdaptiveLayout.of(context).isDesktop)
const SliverToBoxAdapter(
child: Row(