Skip to content

Commit

Permalink
fix: Fix remote_parameter_fetcher example
Browse files Browse the repository at this point in the history
  • Loading branch information
naipaka committed Nov 12, 2023
1 parent cdee8dc commit c784440
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ class _MainAppState extends State<MainApp> {
'int_parameter',
onConfigUpdated: (value) {
debugPrint('remoteParameter value changed: $value');
_intParameterValue = value;
setState(() {
_intParameterValue = value;
});
},
);
_intParameterValue = _intRemoteParameter.value;
Expand Down

0 comments on commit c784440

Please sign in to comment.