fix(login): not working in android in Brazil or Ukraine regions

This commit is contained in:
Kingkor Roy Tirtho 2022-10-23 16:08:15 +06:00
parent b3ac5ca3bb
commit 0b79a1181c

View File

@ -48,7 +48,7 @@ class WebViewLogin extends HookConsumerWidget {
url = url.substring(0, url.length - 1); 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)) { if (exp.hasMatch(url)) {
final cookies = final cookies =