Skip to content

Commit 42558f6

Browse files
authored
Fix spelling error in method name: _checkPremissions to _checkPermissions (#605)
1 parent cd05869 commit 42558f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/lib/pages/connect.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class _ConnectPageState extends State<ConnectPage> {
4545
super.initState();
4646
_readPrefs();
4747
if (lkPlatformIs(PlatformType.android)) {
48-
_checkPremissions();
48+
_checkPermissions();
4949
}
5050
}
5151

@@ -56,7 +56,7 @@ class _ConnectPageState extends State<ConnectPage> {
5656
super.dispose();
5757
}
5858

59-
Future<void> _checkPremissions() async {
59+
Future<void> _checkPermissions() async {
6060
var status = await Permission.bluetooth.request();
6161
if (status.isPermanentlyDenied) {
6262
print('Bluetooth Permission disabled');

0 commit comments

Comments
 (0)