mirror of
https://github.com/Myzel394/quid_faciam_hodie.git
synced 2025-06-18 23:35:25 +02:00
fixed camera button icon in void state
This commit is contained in:
parent
4a1d1c9026
commit
eea08a0e9e
@ -72,6 +72,18 @@ class _CameraButtonState extends State<CameraButton> {
|
||||
widget.onVideoEnd();
|
||||
}
|
||||
},
|
||||
onTapCancel: () {
|
||||
setState(() {
|
||||
videoInAnimationActive = false;
|
||||
animateToVideoIcon = false;
|
||||
});
|
||||
},
|
||||
onPanCancel: () {
|
||||
setState(() {
|
||||
videoInAnimationActive = false;
|
||||
animateToVideoIcon = false;
|
||||
});
|
||||
},
|
||||
onLongPress: () {
|
||||
if (widget.disabled) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user