Finally make the controller charts less shitty
Build Linux and Android / build (push) Failing after 3m39s

This commit is contained in:
feedc0de committed 2026-11-19 16:34:41 +01:00
1 parent 046935a6dd
commit f6c2ecdd4c
1 file changed
+3 -1
+3 -1
View File
@@ -145,6 +145,8 @@ ScrollableTabPage {
id: dataApiKeyValueHelper
deviceConnection: theDeviceConnection
apiKey: "data"
property string replacedValue: value.replace('/data?', '/data_ng?')
}
ApiKeyValueHelper {
@@ -168,7 +170,7 @@ ScrollableTabPage {
property var xhr: undefined
property bool requestAgain: false
property var parsed: page.parseDataApi(dataApiKeyValueHelper.value)
property var parsed: page.parseDataApi(dataApiKeyValueHelper.replacedValue)
property var url: cloudTabs.currentIndex === 0 && parsed && page.width > 30
? parsed.url + "&title=title&chartTitle=chartTitle&scale=1&width="
+ Math.round(page.width - 30) + "&app_id=1&&lang=de"