diff --git a/lib/pages/liberation_history/liberation_history_widget.dart b/lib/pages/liberation_history/liberation_history_widget.dart index 9fd4c7e7..829a6931 100644 --- a/lib/pages/liberation_history/liberation_history_widget.dart +++ b/lib/pages/liberation_history/liberation_history_widget.dart @@ -228,14 +228,7 @@ class _LiberationHistoryWidgetState extends State { ), icon: const Icon(Icons.done), onPressed: () async { - Navigator.pop(context); - - safeSetState(() { - _requestWrap = []; - _requestFuture = _fetchRequests(); - }); - - var message = await answersRequest.call( + return answersRequest.call( context, liberationHistoryItem['NOT_ID'].toString(), 'L', @@ -273,14 +266,7 @@ class _LiberationHistoryWidgetState extends State { ), icon: const Icon(Icons.close), onPressed: () async { - Navigator.pop(context); - - safeSetState(() { - _requestWrap = []; - _requestFuture = _fetchRequests(); - }); - - var message = await answersRequest.call( + return answersRequest.call( context, liberationHistoryItem['NOT_ID'].toString(), 'B',