Increase shake threshold

This commit is contained in:
Vishnu Mohandas 2020-05-04 21:15:47 +05:30
parent 7c570c636d
commit 32ce147ba2

View file

@ -34,7 +34,7 @@ class _HomeWidgetState extends State<HomeWidget> {
void initState() {
super.initState();
detector = ShakeDetector.waitForStart(
shakeThresholdGravity: 2,
shakeThresholdGravity: 3,
onPhoneShake: () {
logger.info("Emailing logs");
LoggingUtil.instance.emailLogs();