ScreenRecorder Service + Reconnected the utility button
This commit is contained in:
parent
c1f22d5e87
commit
e7588b29d9
10 changed files with 142 additions and 51 deletions
|
|
@ -49,7 +49,7 @@ Singleton {
|
|||
|
||||
// --------------------------------
|
||||
function loadFromCache() {
|
||||
const now = Time.timestamp
|
||||
const now = Time.timestamp
|
||||
if (!data.timestamp || (now >= data.timestamp + githubUpdateFrequency)) {
|
||||
console.log("[GitHub] Cache expired or missing, fetching new data from GitHub...")
|
||||
fetchFromGitHub()
|
||||
|
|
@ -79,7 +79,7 @@ Singleton {
|
|||
|
||||
// --------------------------------
|
||||
function saveData() {
|
||||
data.timestamp = Time.timestamp
|
||||
data.timestamp = Time.timestamp
|
||||
Qt.callLater(() => {
|
||||
// Access the FileView's writeAdapter method
|
||||
var fileView = root.children.find(child => child.objectName === "githubDataFileView")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue