feat(gui/macOS): Add checkbox to toggle permission to delete trashed items

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2025-05-07 11:26:36 +08:00 committed by Matthieu Gallien
parent 3f2591799c
commit f1535d438c

View File

@ -131,6 +131,12 @@ Page {
}
}
}
CheckBox {
text: qsTr("Allow deletion of items in Trash")
checked: root.controller.trashDeletionEnabledForAccount(root.accountUserIdAtHost)
onClicked: root.controller.setTrashDeletionEnabledForAccount(root.accountUserIdAtHost, checked)
}
}
}
}