🐛 Bug fixes

This commit is contained in:
2024-10-13 19:56:37 +08:00
parent 4041d6dc4e
commit f8755f5220
3 changed files with 30 additions and 19 deletions

View File

@ -108,10 +108,10 @@ class _ExploreScreenState extends State<ExploreScreen>
RealmSwitcher(),
],
).paddingSymmetric(horizontal: 8),
),
).paddingSymmetric(vertical: 4),
TabBar(
controller: _tabController,
dividerHeight: 0.3,
dividerHeight: scrollProgress > 0 ? 0 : 0.3,
tabAlignment: TabAlignment.fill,
tabs: [
Tab(
@ -138,8 +138,10 @@ class _ExploreScreenState extends State<ExploreScreen>
child: Row(
mainAxisSize: MainAxisSize.min,
children: [
const Icon(Icons.shuffle_on_outlined,
size: 20),
const Icon(
Icons.shuffle_on_outlined,
size: 20,
),
const Gap(8),
Text('postListShuffle'.tr),
],
@ -151,7 +153,7 @@ class _ExploreScreenState extends State<ExploreScreen>
).paddingOnly(top: MediaQuery.of(context).padding.top),
),
),
expandedHeight: 96,
expandedHeight: 104,
snap: true,
floating: true,
toolbarHeight: AppTheme.toolbarHeight(context),

View File

@ -182,7 +182,10 @@ class _PostPublishScreenState extends State<PostPublishScreen> {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
ListTile(
tileColor: Theme.of(context).colorScheme.surfaceContainerLow,
tileColor: Theme.of(context)
.colorScheme
.surfaceContainerLow
.withOpacity(0.5),
title: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [