Commit c7ccf256 authored by Kris Giesing's avatar Kris Giesing

Style tweak in double tap recognizer

parent c2916f47
...@@ -150,8 +150,7 @@ class DoubleTapGestureRecognizer extends DisposableArenaMember { ...@@ -150,8 +150,7 @@ class DoubleTapGestureRecognizer extends DisposableArenaMember {
} }
void _startDoubleTapTimer() { void _startDoubleTapTimer() {
if (_doubleTapTimer == null) _doubleTapTimer ??= new Timer(kDoubleTapTimeout, () => _reset());
_doubleTapTimer = new Timer(kDoubleTapTimeout, () => _reset());
} }
void _stopDoubleTapTimer() { void _stopDoubleTapTimer() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment