Skip to content

Commit

Permalink
Update main_spinner_with_store_connector.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
marcglasberg committed May 20, 2024
1 parent 381c943 commit fb091e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions example/lib/main_spinner_with_store_connector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,10 @@ class WaitAndIncrementAction extends ReduxAction<AppState> {
class CounterWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
var isWaiting = context.isWaiting(WaitAndIncrementAction);

return Text(
'${context.state.counter}',
style: TextStyle(fontSize: 40, color: isWaiting ? Colors.grey[350] : Colors.black),
style: const TextStyle(fontSize: 40, color: Colors.black),
);
}
}
Expand Down

0 comments on commit fb091e3

Please sign in to comment.