We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd05869 commit 42558f6Copy full SHA for 42558f6
example/lib/pages/connect.dart
@@ -45,7 +45,7 @@ class _ConnectPageState extends State<ConnectPage> {
45
super.initState();
46
_readPrefs();
47
if (lkPlatformIs(PlatformType.android)) {
48
- _checkPremissions();
+ _checkPermissions();
49
}
50
51
@@ -56,7 +56,7 @@ class _ConnectPageState extends State<ConnectPage> {
56
super.dispose();
57
58
59
- Future<void> _checkPremissions() async {
+ Future<void> _checkPermissions() async {
60
var status = await Permission.bluetooth.request();
61
if (status.isPermanentlyDenied) {
62
print('Bluetooth Permission disabled');
0 commit comments