fix(voice): preserve mute owners and release touch ptt

This commit is contained in:
Edison Jwa
2026-06-08 18:00:32 +09:00
parent e4fdf8414a
commit d83539436e
7 changed files with 158 additions and 25 deletions
@@ -318,6 +318,15 @@ class _VoicePttButtonState extends State<VoicePttButton> {
playVoicePttHaptic(held);
}
@override
void dispose() {
if (_pressed) {
_pressed = false;
widget.onHeldChanged(false);
}
super.dispose();
}
@override
Widget build(BuildContext context) {
final theme = Theme.of(context);