Skip to content

Commit 718dcfa

Browse files
committed
Fix check to allow users to register directly over the app...
1 parent 92cc1b7 commit 718dcfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/screens/auth_screen.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class _AuthCardState extends State<AuthCard> {
119119
// If not, the user will not be able to register via the app
120120
try {
121121
final metadata = Provider.of<AuthProvider>(context, listen: false).metadata;
122-
if (metadata.containsKey(MANIFEST_KEY_API) || metadata[MANIFEST_KEY_API] == '') {
122+
if (metadata.containsKey(MANIFEST_KEY_API) && metadata[MANIFEST_KEY_API] == '') {
123123
_canRegister = false;
124124
}
125125
} on PlatformException {

0 commit comments

Comments
 (0)