Make swipeIndex properties readonly

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2023-07-13 12:41:51 +08:00
parent 98ec8ff302
commit bccdb0e8f7

View file

@ -250,7 +250,7 @@ Page {
FileActivityView {
id: fileActivityView
property int swipeIndex: SwipeView.index
readonly property int swipeIndex: SwipeView.index
delegateHorizontalPadding: root.intendedPadding
@ -262,7 +262,7 @@ Page {
Loader {
id: shareViewLoader
property int swipeIndex: SwipeView.index
readonly property int swipeIndex: SwipeView.index
width: swipeView.width
height: swipeView.height