Skip to content

Commit

Permalink
fix(ui): some OAuth providers now work on macOS & web (#7576)
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-petrov committed Dec 16, 2021
1 parent 504f705 commit a431573
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ class FacebookProviderConfiguration extends OAuthProviderConfiguration {
bool isSupportedPlatform(TargetPlatform platform) {
return platform == TargetPlatform.android ||
platform == TargetPlatform.iOS ||
platform == TargetPlatform.macOS;
platform == TargetPlatform.macOS ||
kIsWeb;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ class GoogleProviderConfiguration extends OAuthProviderConfiguration {
bool isSupportedPlatform(TargetPlatform platform) {
return platform == TargetPlatform.android ||
platform == TargetPlatform.iOS ||
platform == TargetPlatform.macOS;
platform == TargetPlatform.macOS ||
kIsWeb;
}
}

0 comments on commit a431573

Please sign in to comment.