mirror of
https://github.com/Myzel394/quid_faciam_hodie.git
synced 2025-06-19 07:35:26 +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();
|
widget.onVideoEnd();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onTapCancel: () {
|
||||||
|
setState(() {
|
||||||
|
videoInAnimationActive = false;
|
||||||
|
animateToVideoIcon = false;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
onPanCancel: () {
|
||||||
|
setState(() {
|
||||||
|
videoInAnimationActive = false;
|
||||||
|
animateToVideoIcon = false;
|
||||||
|
});
|
||||||
|
},
|
||||||
onLongPress: () {
|
onLongPress: () {
|
||||||
if (widget.disabled) {
|
if (widget.disabled) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user