🐛 Fix explore page styling

This commit is contained in:
LittleSheep 2025-07-02 13:17:45 +08:00
parent 007acedf29
commit 82067fb3aa

View File

@ -102,13 +102,17 @@ class ExploreScreen extends HookConsumerWidget {
controller: tabController,
tabAlignment: TabAlignment.start,
isScrollable: true,
dividerColor: Colors.transparent,
tabs: [
Tab(
icon: Tooltip(
message: 'explore'.tr(),
child: Icon(
Symbols.explore,
color: Theme.of(context).appBarTheme.foregroundColor!,
color:
Theme.of(
context,
).appBarTheme.foregroundColor!,
),
),
),
@ -117,7 +121,10 @@ class ExploreScreen extends HookConsumerWidget {
message: 'exploreFilterSubscriptions'.tr(),
child: Icon(
Symbols.subscriptions,
color: Theme.of(context).appBarTheme.foregroundColor!,
color:
Theme.of(
context,
).appBarTheme.foregroundColor!,
),
),
),
@ -126,14 +133,16 @@ class ExploreScreen extends HookConsumerWidget {
message: 'exploreFilterFriends'.tr(),
child: Icon(
Symbols.people,
color: Theme.of(context).appBarTheme.foregroundColor!,
color:
Theme.of(
context,
).appBarTheme.foregroundColor!,
),
),
),
],
),
),
Spacer(),
IconButton(
onPressed: () {
context.push('/feeds/articles');
@ -155,7 +164,12 @@ class ExploreScreen extends HookConsumerWidget {
tooltip: 'search'.tr(),
),
],
).padding(horizontal: 8),
)
.padding(horizontal: 8)
.border(
bottom: 1 / MediaQuery.of(context).devicePixelRatio,
color: Theme.of(context).dividerColor,
),
),
),
floatingActionButton: FloatingActionButton(