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: [ headers: [
if (constraints.smAndDown) if (constraints.smAndDown)
TitleBar( TitleBar(
automaticallyImplyLeading: false,
child: SingleChildScrollView( child: SingleChildScrollView(
scrollDirection: Axis.horizontal, scrollDirection: Axis.horizontal,
child: TabList( child: TabList(

View File

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

View File

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

View File

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

View File

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

View File

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