Skip to content

Commit

Permalink
refactor: use disabled color for producttile title when refreshing
Browse files Browse the repository at this point in the history
  • Loading branch information
lucafluri committed Jul 15, 2020
1 parent 956c13c commit 5607fa0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/screens/home/components/product_list_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ class ProductListTile extends StatelessWidget {
? Colors.black87
: Colors.grey;

Color _titleColor = product.parseSuccess ? Colors.white : Colors.red;
Color _titleColor = refreshing
? Colors.grey
: product.parseSuccess ? Colors.white : Colors.red;

Color _storeColor = _underTarget ? Colors.black87 : Colors.grey;

Expand Down

0 comments on commit 5607fa0

Please sign in to comment.