mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55: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: [
|
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(
|
||||||
|
@ -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(
|
||||||
|
@ -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(
|
||||||
|
@ -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(
|
||||||
|
@ -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()
|
||||||
|
@ -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: [
|
||||||
|
Loading…
Reference in New Issue
Block a user