mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
rework some initial dependency loading
This commit is contained in:
parent
9227ac0989
commit
5200b37787
13 changed files with 121 additions and 467 deletions
17
dashboard-ui/cordova/android/iap.js
vendored
17
dashboard-ui/cordova/android/iap.js
vendored
|
@ -130,15 +130,20 @@
|
|||
return;
|
||||
}
|
||||
|
||||
testDeviceId(device.uuid).then(function (isUnlocked) {
|
||||
var legacyDeviceId = NativeIapManager.getLegacyDeviceId();
|
||||
if (legacyDeviceId) {
|
||||
testDeviceId(legacyDeviceId).then(function(isUnlocked) {
|
||||
|
||||
if (isUnlocked) {
|
||||
deferred.resolveWith(null, [true]);
|
||||
return;
|
||||
}
|
||||
if (isUnlocked) {
|
||||
deferred.resolveWith(null, [true]);
|
||||
return;
|
||||
}
|
||||
|
||||
deferred.resolveWith(null, [false]);
|
||||
});
|
||||
} else {
|
||||
deferred.resolveWith(null, [false]);
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue