Skip to content

Commit b308413

Browse files
authored
fix: Missing null check (#30)
1 parent 03cb0cd commit b308413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/api.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class FlutterCallkeep extends EventManager {
7070
Future<void> _hasDefaultPhoneAccount(Map<String, dynamic> options) async {
7171
final hasDefault = await _checkDefaultPhoneAccount();
7272
final shouldOpenAccounts = await _alert(options, hasDefault);
73-
if (shouldOpenAccounts) {
73+
if (shouldOpenAccounts == true) {
7474
await _openPhoneAccounts();
7575
}
7676
}

0 commit comments

Comments
 (0)