diff --git a/lib/screen/pages/talk/chatBubble.dart b/lib/screen/pages/talk/chatBubble.dart index 1c53d2e..231e45d 100644 --- a/lib/screen/pages/talk/chatBubble.dart +++ b/lib/screen/pages/talk/chatBubble.dart @@ -205,12 +205,12 @@ class _ChatBubbleState extends State { TextButton(onPressed: () { downloadCore?.then((value) { if(!value.isCancelled) value.cancel(); - setState(() { - downloadProgress = 0; - downloadCore = null; - }); Navigator.of(context).pop(); }); + setState(() { + downloadProgress = 0; + downloadCore = null; + }); }, child: const Text("Ja, Abbrechen")) ], );