Compress share page tab button width and height when sharing API is disabled

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

View file

@ -232,6 +232,8 @@ Page {
}
NCTabButton {
width: visible ? implicitWidth : 0
height: visible ? implicitHeight : 0
svgCustomColorSource: "image://svgimage-custom-color/share.svg"
text: qsTr("Sharing")
checked: swipeView.currentIndex === shareViewLoader.swipeIndex