mirror of
https://github.com/git-touch/git-touch
synced 2025-03-07 20:57:44 +01:00
chore: update icons
This commit is contained in:
parent
70ef6d3173
commit
36c9eda9ac
@ -43,7 +43,7 @@ class _HomeState extends State<Home> {
|
|||||||
|
|
||||||
Widget _buildNotificationIcon(BuildContext context, bool isActive) {
|
Widget _buildNotificationIcon(BuildContext context, bool isActive) {
|
||||||
final theme = Provider.of<ThemeModel>(context);
|
final theme = Provider.of<ThemeModel>(context);
|
||||||
final iconData = isActive ? Icons.notifications : Icons.notifications_none;
|
final iconData = Icons.notifications;
|
||||||
int count = Provider.of<NotificationModel>(context).count;
|
int count = Provider.of<NotificationModel>(context).count;
|
||||||
if (count == 0) {
|
if (count == 0) {
|
||||||
return Icon(iconData);
|
return Icon(iconData);
|
||||||
@ -76,7 +76,7 @@ class _HomeState extends State<Home> {
|
|||||||
title: Text('Notification'),
|
title: Text('Notification'),
|
||||||
),
|
),
|
||||||
BottomNavigationBarItem(
|
BottomNavigationBarItem(
|
||||||
icon: Icon(Icons.trending_up),
|
icon: Icon(Icons.whatshot),
|
||||||
title: Text('Trending'),
|
title: Text('Trending'),
|
||||||
),
|
),
|
||||||
BottomNavigationBarItem(
|
BottomNavigationBarItem(
|
||||||
@ -84,7 +84,7 @@ class _HomeState extends State<Home> {
|
|||||||
title: Text('Search'),
|
title: Text('Search'),
|
||||||
),
|
),
|
||||||
BottomNavigationBarItem(
|
BottomNavigationBarItem(
|
||||||
icon: Icon(Icons.person_outline),
|
icon: Icon(Icons.person),
|
||||||
activeIcon: Icon(Icons.person),
|
activeIcon: Icon(Icons.person),
|
||||||
title: Text('Me'),
|
title: Text('Me'),
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user