Skip to content

Commit

Permalink
url setState
Browse files Browse the repository at this point in the history
  • Loading branch information
danemadsen committed Apr 24, 2024
1 parent c8fce65 commit 2abb709
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/ui/mobile/widgets/parameter_widgets/url_parameter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ class _UrlParameterState extends State<UrlParameter> {
onPressed: () async {
final model = context.read<Session>().model;
await model.resetUri();
controller.text = model.uri;
setState(() {
controller.text = model.uri;
});
},
icon: const Icon(Icons.refresh),
),
Expand Down

0 comments on commit 2abb709

Please sign in to comment.