GitHub removed some unecessary code

This commit is contained in:
quadbyte 2025-08-12 14:29:58 -04:00
parent e3ff4e5bcf
commit b68d5c9f4c
3 changed files with 2 additions and 14 deletions

View file

@ -31,9 +31,6 @@ Singleton {
}
onLoadFailed: function (error) {
if (error.toString().includes("No such file") || error === 2) {
// File doesn't exist, create it with default values
console.log("[GitHub] Creating new cache file")
writeAdapter()
// Fetch data after a short delay to ensure file is created
Qt.callLater(() => {
fetchFromGitHub()
@ -50,11 +47,6 @@ Singleton {
}
}
// --------------------------------
function init() {// does nothing but ensure the singleton is created
// do not remove
}
// --------------------------------
function loadFromCache() {
const now = Time.timestamp