Skip to content

Commit

Permalink
dispose animation controller in lock button
Browse files Browse the repository at this point in the history
  • Loading branch information
esarbanis committed Mar 20, 2024
1 parent 9886cb2 commit 8a81050
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ class _LockButtonState extends State<_LockButton>
_controller.forward();
}

@override
void dispose() {
_controller.dispose();
super.dispose();
}

@override
Widget build(BuildContext context) {
final audioRecordingMessageTheme = AudioRecordingMessageTheme.of(context);
Expand Down

0 comments on commit 8a81050

Please sign in to comment.