Fixed aborting download bugging out
This commit is contained in:
parent
ccf348bcd3
commit
4bd257b5ba
@ -205,12 +205,12 @@ class _ChatBubbleState extends State<ChatBubble> {
|
||||
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"))
|
||||
],
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user