From 8625a67143756343fa8e99507a838ecb45d451c2 Mon Sep 17 00:00:00 2001 From: fgl27 Date: Sun, 20 Feb 2022 17:15:50 -0300 Subject: [PATCH] up version Signed-off-by: fgl27 --- app/general/version.js | 10 +++++++++- app/specific/Settings.js | 16 ++++++++-------- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/app/general/version.js b/app/general/version.js index 21e3b7007..58c686667 100644 --- a/app/general/version.js +++ b/app/general/version.js @@ -21,11 +21,19 @@ //Spacing for release maker not trow errors from jshint var version = { VersionBase: '3.0', - publishVersionCode: 329,//Always update (+1 to current value) Main_version_java after update publishVersionCode or a major update of the apk is released + publishVersionCode: 330,//Always update (+1 to current value) Main_version_java after update publishVersionCode or a major update of the apk is released ApkUrl: 'https://github.com/fgl27/SmartTwitchTV/releases/download/329/SmartTV_twitch_3_0_329.apk', WebVersion: 'December 04 2021', WebTag: 605,//Always update (+1 to current value) Main_version_web after update Main_minversion or a major update of the web part of the app changelog: [ + { + title: "Apk Version 3.0.330", + changes: [ + "Prepare the app for API changes", + "Twitch is about to shutdown some of they API, because of that the app sometimes doesn't load content, the next few days the app will receive updates to deal with the shutdown, make sure you are on latest APK version to not have problem", + "Update app dependencies to latest version included the player" + ] + }, { title: "Web Version December 04 2021", changes: [ diff --git a/app/specific/Settings.js b/app/specific/Settings.js index d3ae7dd65..47a09f06e 100644 --- a/app/specific/Settings.js +++ b/app/specific/Settings.js @@ -2187,14 +2187,14 @@ function Settings_DialogShowNotification(click) { }; //TODO remove comments when apk is updated - //if (!Main_IsOn_OSInterface || OSInterface_getSDK() < 30) { - obj.live_notification_background = { - defaultValue: Settings_value.live_notification_background.defaultValue, - values: Settings_value.live_notification_background.values, - title: STR_NOW_BACKGROUND, - summary: STR_NOW_BACKGROUND_SUMMARY - }; - // } + if (!Main_IsOn_OSInterface || OSInterface_getSDK() < 30) { + obj.live_notification_background = { + defaultValue: Settings_value.live_notification_background.defaultValue, + values: Settings_value.live_notification_background.values, + title: STR_NOW_BACKGROUND, + summary: STR_NOW_BACKGROUND_SUMMARY + }; + } Settings_DialogShow(obj, STR_NOTIFICATION_OPT, click); }