Skip to content

Commit

Permalink
Fix spelling error in method name: _checkPremissions to _checkPermiss…
Browse files Browse the repository at this point in the history
…ions (#605)
  • Loading branch information
AoEiuV020 authored Oct 21, 2024
1 parent cd05869 commit 42558f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/lib/pages/connect.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class _ConnectPageState extends State<ConnectPage> {
super.initState();
_readPrefs();
if (lkPlatformIs(PlatformType.android)) {
_checkPremissions();
_checkPermissions();
}
}

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

Future<void> _checkPremissions() async {
Future<void> _checkPermissions() async {
var status = await Permission.bluetooth.request();
if (status.isPermanentlyDenied) {
print('Bluetooth Permission disabled');
Expand Down

0 comments on commit 42558f6

Please sign in to comment.