fix: remove automaticallyImplyLeading from root tabs

This commit is contained in:
Kingkor Roy Tirtho 2025-01-31 22:37:10 +06:00
parent 4b2d259add
commit 6ddf6b9cce
6 changed files with 7 additions and 2 deletions

View File

@ -48,6 +48,7 @@ class LibraryPage extends HookConsumerWidget {
headers: [
if (constraints.smAndDown)
TitleBar(
automaticallyImplyLeading: false,
child: SingleChildScrollView(
scrollDirection: Axis.horizontal,
child: TabList(

View File

@ -65,6 +65,7 @@ class UserAlbumsPage extends HookConsumerWidget {
controller: controller,
slivers: [
SliverAppBar(
automaticallyImplyLeading: false,
backgroundColor: Theme.of(context).colorScheme.background,
floating: true,
flexibleSpace: Padding(

View File

@ -72,6 +72,7 @@ class UserArtistsPage extends HookConsumerWidget {
controller: controller,
slivers: [
SliverAppBar(
automaticallyImplyLeading: false,
backgroundColor: Theme.of(context).colorScheme.background,
floating: true,
flexibleSpace: SizedBox(

View File

@ -91,6 +91,7 @@ class UserPlaylistsPage extends HookConsumerWidget {
controller: controller,
slivers: [
SliverAppBar(
automaticallyImplyLeading: false,
floating: true,
backgroundColor: context.theme.colorScheme.background,
flexibleSpace: Container(

View File

@ -79,7 +79,7 @@ class SearchPage extends HookConsumerWidget {
child: Scaffold(
headers: [
if (kTitlebarVisible)
const TitleBar(automaticallyImplyLeading: true, height: 30)
const TitleBar(automaticallyImplyLeading: false, height: 30)
],
child: auth.asData?.value == null
? const AnonymousFallback()

View File

@ -24,7 +24,8 @@ class StatsPage extends HookConsumerWidget {
bottom: false,
child: Scaffold(
headers: [
if (kTitlebarVisible) const TitleBar(),
if (kTitlebarVisible)
const TitleBar(automaticallyImplyLeading: false),
],
child: CustomScrollView(
slivers: [