diff --git a/lib/main.dart b/lib/main.dart index 0bed15b..4401d62 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -89,7 +89,7 @@ void main() async { try { if (Platform.isAndroid || Platform.isIOS) { - if (await Vibration.hasCustomVibrationsSupport() != null) { + if (await Vibration.hasCustomVibrationsSupport()) { configProvider.setValidVibrator(true); } else { configProvider.setValidVibrator(false);