fix: Stop animation before pop

This commit is contained in:
Deven Joshi
2020-11-20 18:16:03 +05:30
parent e952d350c5
commit 5b06e9c257
+1
View File
@@ -122,6 +122,7 @@ class _ReactionPickerState extends State<ReactionPicker> {
void pop() async {
for (var a in animations) {
a.stop();
a.dispose();
}
Navigator.of(context).pop();
}