From 359bfc5ced5e5fc71fbaa9d9b862e6c8b87b64ae Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Thu, 11 Jul 2024 22:19:10 +0200 Subject: [PATCH] native: make infinity symbol work --- native/MainPage.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/native/MainPage.qml b/native/MainPage.qml index 4f7a33b..23687a3 100644 --- a/native/MainPage.qml +++ b/native/MainPage.qml @@ -167,9 +167,10 @@ Rectangle { name: jsonResponse[i].licenses[ii].name, start: jsonResponse[i].licenses[ii].start ?? "Indefinitely", end: jsonResponse[i].licenses[ii].end ?? "Indefinitely", - amount: jsonResponse[i].licenses[ii].amount ?? "∞", + amount: jsonResponse[i].licenses[ii].amount ? jsonResponse[i].licenses[ii].amount.toString() : "∞", key: jsonResponse[i].licenses[ii].key }); + } } filterModel() // Filter the model after loading data