Skip to content

Commit

Permalink
style: reduce size of icons on upper tab
Browse files Browse the repository at this point in the history
  • Loading branch information
aitorres committed Jan 6, 2025
1 parent 22a8e25 commit 69aa33d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/screens/timeline_tabs.dart
Original file line number Diff line number Diff line change
Expand Up @@ -94,23 +94,23 @@ class _TimelineTabsState extends State<TimelineTabs> {
apiService: widget.apiService,
timelineType: TimelineType.home,
tabIcon: const Tab(
icon: Icon(FeatherIcons.home),
icon: Icon(FeatherIcons.home, size: 14),
text: "Home",
),
),
Timeline(
apiService: widget.apiService,
timelineType: TimelineType.local,
tabIcon: const Tab(
icon: Icon(FeatherIcons.monitor),
icon: Icon(FeatherIcons.monitor, size: 16),
text: "Local",
),
),
Timeline(
apiService: widget.apiService,
timelineType: TimelineType.fedi,
tabIcon: const Tab(
icon: Icon(FeatherIcons.globe),
icon: Icon(FeatherIcons.globe, size: 16),
text: "Fedi",
),
),
Expand All @@ -120,6 +120,7 @@ class _TimelineTabsState extends State<TimelineTabs> {
length: 3,
child: Scaffold(
appBar: AppBar(
toolbarHeight: 48.0,
title: const Text(TimelineTabs.title),
bottom: TabBar(
tabs: tabs.map((tab) => tab.tabIcon).toList(),
Expand Down

0 comments on commit 69aa33d

Please sign in to comment.