Merge pull request #233 from msdevpt/fix-clear-message

fix: message when no items on clipboard
This commit is contained in:
Lysec 2025-09-08 15:29:54 +02:00 committed by GitHub
commit 59ef26af1c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -136,7 +136,7 @@ Item {
const items = ClipboardService.items || []
// If no items and we haven't tried loading yet, trigger a load
if (items.length === 0 && !ClipboardService.loading) {
if (items.count === 0 && !ClipboardService.loading) {
isWaitingForData = true
ClipboardService.list(100)
return [{