Skip to content

Commit

Permalink
fix(login): not working in android in Brazil or Ukraine regions
Browse files Browse the repository at this point in the history
  • Loading branch information
KRTirtho committed Oct 23, 2022
1 parent b3ac5ca commit 0b79a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/Login/WebViewLogin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class WebViewLogin extends HookConsumerWidget {
url = url.substring(0, url.length - 1);
}

final exp = RegExp(r"https:\/\/accounts.spotify.com\/\w+\/status");
final exp = RegExp(r"https:\/\/accounts.spotify.com\/.+\/status");

if (exp.hasMatch(url)) {
final cookies =
Expand Down

0 comments on commit 0b79a11

Please sign in to comment.