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 { FileActivityView {
id: fileActivityView id: fileActivityView
property int swipeIndex: SwipeView.index readonly property int swipeIndex: SwipeView.index
delegateHorizontalPadding: root.intendedPadding delegateHorizontalPadding: root.intendedPadding
@ -262,7 +262,7 @@ Page {
Loader { Loader {
id: shareViewLoader id: shareViewLoader
property int swipeIndex: SwipeView.index readonly property int swipeIndex: SwipeView.index
width: swipeView.width width: swipeView.width
height: swipeView.height height: swipeView.height