Skip to content

Commit

Permalink
chore(auth): Removed redundant languageCode null-check. (#12076)
Browse files Browse the repository at this point in the history
  • Loading branch information
Naveed-dev30 committed May 13, 2024
1 parent c074de2 commit 00d2262
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,7 @@ class FirebaseAuth extends FirebasePluginPlatform {
///
/// See [setLanguageCode] to update the language code.
String? get languageCode {
if (_delegate.languageCode != null) {
return _delegate.languageCode;
}

return null;
return _delegate.languageCode;
}

/// Changes this instance to point to an Auth emulator running locally.
Expand Down

0 comments on commit 00d2262

Please sign in to comment.