Skip to content

Commit b2587a7

Browse files
committed
fix: dart static analysis warnings
1 parent 32ccab0 commit b2587a7

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

lib/firebase_phone_auth_handler.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
library firebase_phone_auth_handler;
1+
library;
22

33
export 'package:firebase_auth/firebase_auth.dart';
44

lib/src/auth_controller.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,9 @@ class FirebasePhoneAuthController extends ChangeNotifier {
136136
/// object to handle the error.
137137
Future<bool> verifyOtp(String otp) async {
138138
if ((!kIsWeb && _verificationId == null) ||
139-
(kIsWeb && _webConfirmationResult == null)) return false;
139+
(kIsWeb && _webConfirmationResult == null)) {
140+
return false;
141+
}
140142

141143
try {
142144
if (kIsWeb) {

0 commit comments

Comments
 (0)