Feature/loading messages (#220)

* Add loading message

* Add messages and cache file

* Lint fix

---------

Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
Brahim Hadricheandgithub-action linter authored and GitHub committed 2023-12-10 15:24:30 -05:00
1 parent 6a46d4cd09
commit b77519493d
8 files changed
+78 -2

No files matched your search

@@ -3,5 +3,13 @@ function ShowLoadingScreen()
end function
function HideLoadingScreen()
m.global.loadingIndicator.visible = false
loadingIndicator = m.global.loadingIndicator
loadingIndicator.visible = false
if loadingIndicator.hasField("message")
loadingIndicator.message = ""
end if
end function
function CopyLoadingMessagesToCache()
CopyFile("libpkg:/config/loading-messages.json5", "cachefs:/loading_messages_v1.json")
end function