1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update ScheduleDirect

This commit is contained in:
Luke Pulverenti 2015-11-10 13:58:05 -05:00
parent 50c405f522
commit bedc1427ba
4 changed files with 14 additions and 13 deletions

View file

@ -23,9 +23,9 @@
var id;
if (feature == 'embypremieremonthly') {
id = "emby.premiere.monthly";
id = NativeIapManager.getPremiereMonthlySku();
} else {
id = "com.emby.mobile.unlock";
id = NativeIapManager.getUnlockProductSku();
}
var products = updatedProducts.filter(function (r) {
@ -83,8 +83,9 @@
}).map(function (o) {
o.buttonText = Globalize.translate(o.buttonText, getProduct(o.feature).price);
o.owned = getProduct(o.feature).owned;
var prod = getProduct(o.feature);
o.buttonText = Globalize.translate(o.buttonText, prod.price);
o.owned = prod.owned;
return o;
});