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
  • Loading branch information
AoEiuV020 authored Oct 17, 2024
1 parent 588e898 commit cfc540f
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 cfc540f

Please sign in to comment.