Increase shake threshold
This commit is contained in:
parent
7c570c636d
commit
32ce147ba2
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue