mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 16:05:18 +00:00
fix: remove automaticallyImplyLeading from root tabs
This commit is contained in:
parent
4b2d259add
commit
6ddf6b9cce
@ -48,6 +48,7 @@ class LibraryPage extends HookConsumerWidget {
|
||||
headers: [
|
||||
if (constraints.smAndDown)
|
||||
TitleBar(
|
||||
automaticallyImplyLeading: false,
|
||||
child: SingleChildScrollView(
|
||||
scrollDirection: Axis.horizontal,
|
||||
child: TabList(
|
||||
|
@ -65,6 +65,7 @@ class UserAlbumsPage extends HookConsumerWidget {
|
||||
controller: controller,
|
||||
slivers: [
|
||||
SliverAppBar(
|
||||
automaticallyImplyLeading: false,
|
||||
backgroundColor: Theme.of(context).colorScheme.background,
|
||||
floating: true,
|
||||
flexibleSpace: Padding(
|
||||
|
@ -72,6 +72,7 @@ class UserArtistsPage extends HookConsumerWidget {
|
||||
controller: controller,
|
||||
slivers: [
|
||||
SliverAppBar(
|
||||
automaticallyImplyLeading: false,
|
||||
backgroundColor: Theme.of(context).colorScheme.background,
|
||||
floating: true,
|
||||
flexibleSpace: SizedBox(
|
||||
|
@ -91,6 +91,7 @@ class UserPlaylistsPage extends HookConsumerWidget {
|
||||
controller: controller,
|
||||
slivers: [
|
||||
SliverAppBar(
|
||||
automaticallyImplyLeading: false,
|
||||
floating: true,
|
||||
backgroundColor: context.theme.colorScheme.background,
|
||||
flexibleSpace: Container(
|
||||
|
@ -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()
|
||||
|
@ -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: [
|
||||
|
Loading…
Reference in New Issue
Block a user