Fix API Silica: TextSwitch al posto di Switch (label), Notices al posto di Toast (non esiste in Silica). Tutti i componenti verificati contro la doc ufficiale
This commit is contained in:
@@ -105,8 +105,8 @@ Page {
|
||||
}
|
||||
}
|
||||
|
||||
Toast {
|
||||
id: toast
|
||||
Notices {
|
||||
id: notices
|
||||
}
|
||||
|
||||
function formatSize(bytes) {
|
||||
@@ -167,7 +167,7 @@ Page {
|
||||
page.downloading = false
|
||||
if (ok) {
|
||||
page.downloadError = ""
|
||||
toast.show("Salvato in " + path)
|
||||
notices.show("Salvato in " + path)
|
||||
} else {
|
||||
page.downloadError = "Errore: " + error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user