Skip to content

Commit

Permalink
Compress share page tab button width and height when sharing API is d…
Browse files Browse the repository at this point in the history
…isabled

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
  • Loading branch information
claucambra committed Jul 13, 2023
1 parent 694f3bb commit 8d369ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/filedetails/FileDetailsPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8d369ae

Please sign in to comment.