Fix field cleared by TestWindow.clearGestureSettingsTestValue (#121956)

This commit is contained in:
Jason Simmons
2023-03-04 16:59:14 -08:00
committed by GitHub
parent f2f80059ff
commit 95387c6621

View File

@@ -153,7 +153,7 @@ class TestWindow implements ui.SingletonFlutterWindow {
}
/// Deletes any existing test gesture settings and returns to using the real gesture settings.
void clearGestureSettingsTestValue() {
_paddingTestValue = null;
_gestureSettings = null;
onMetricsChanged?.call();
}