Login fix
This commit is contained in:
parent
65e14a02a1
commit
643f5e81b0
|
@ -182,8 +182,7 @@ const language_ru_ru = {
|
|||
"Go up": "Подниматься",
|
||||
"Permission denied": "Доступ запрещен",
|
||||
"Language": "Язык",
|
||||
"Language changed, please restart Freezer to apply!":
|
||||
"Язык изменен, перезапустите Freezer, чтобы применить!",
|
||||
"Language changed, please restart Freezer to apply!": "Язык изменен, перезапустите Freezer, чтобы применить!",
|
||||
"Importing...": "Импорт...",
|
||||
"Radio": "Радио"
|
||||
}
|
||||
|
|
|
@ -224,10 +224,15 @@ class LoginBrowser extends StatelessWidget {
|
|||
children: <Widget>[
|
||||
Expanded(
|
||||
child: Container(
|
||||
|
||||
child: InAppWebView(
|
||||
initialUrl: 'https://deezer.com/login',
|
||||
onLoadStart: (InAppWebViewController controller, String url) async {
|
||||
|
||||
//Offers URL
|
||||
if (url.contains('/offers')) {
|
||||
controller.evaluateJavascript(source: 'window.location.href = "/open_app"');
|
||||
}
|
||||
|
||||
//Parse arl from url
|
||||
if (url.startsWith('intent://deezer.page.link')) {
|
||||
try {
|
||||
|
|
|
@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|||
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
||||
# Read more about iOS versioning at
|
||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
version: 0.4.1+1
|
||||
version: 0.4.2+1
|
||||
|
||||
environment:
|
||||
sdk: ">=2.8.0 <3.0.0"
|
||||
|
|
Loading…
Reference in New Issue