fix(trash): empty trash option visible

This commit is contained in:
kateleet 2021-12-26 17:09:37 +08:00
parent c189b0fb19
commit df04935fbe

View file

@ -37,10 +37,6 @@ Item {
mainWindow.updateSize()
}
Component.onCompleted: {
console.log(Settings.style)
}
DropArea {
anchors.fill: parent
enabled: true
@ -176,6 +172,7 @@ Item {
MenuItem {
text: qsTr("Empty Trash")
onTriggered: trash.emptyTrash()
visible: trash.count !== 0
}
}
}