More optims and renaming
This commit is contained in:
parent
d2563db5a0
commit
269b2765cd
7 changed files with 78 additions and 82 deletions
|
|
@ -12,7 +12,7 @@ Singleton {
|
|||
property var messageQueue: []
|
||||
property bool isShowingToast: false
|
||||
|
||||
// Reference to all toast instances (set by ToastManager)
|
||||
// Reference to all toast instances (set by ToastOverlay)
|
||||
property var allToasts: []
|
||||
|
||||
// Properties for command checking
|
||||
|
|
@ -197,6 +197,7 @@ Singleton {
|
|||
toast.type = toastData.type
|
||||
toast.persistent = toastData.persistent
|
||||
toast.duration = toastData.duration
|
||||
|
||||
toast.show()
|
||||
}
|
||||
}
|
||||
|
|
@ -236,8 +237,4 @@ Singleton {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue