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