Color to alert icon

This commit is contained in:
vjrj 2018-09-16 18:19:47 +02:00
parent 29df8c44db
commit ac65ccf990

View file

@ -91,6 +91,7 @@ class _ActiveFiresPageState extends State<ActiveFiresPage> {
icon: new Icon(loc.subscribed icon: new Icon(loc.subscribed
? Icons.notifications_active ? Icons.notifications_active
: Icons.notifications_off), : Icons.notifications_off),
color: loc.subscribed ? fires600: null,
onPressed: () { onPressed: () {
loc.subscribed = !loc.subscribed; loc.subscribed = !loc.subscribed;
onToggle(loc); onToggle(loc);