Apply suggestions from code review

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
This commit is contained in:
RichΛrd 2020-11-26 11:46:54 -04:00 committed by Iuri Matias
parent c4f2ea0f14
commit 71665ed53c

View File

@ -11,7 +11,7 @@ Rectangle {
id: emptyView id: emptyView
Layout.fillHeight: true Layout.fillHeight: true
Layout.fillWidth: true Layout.fillWidth: true
visible: !appSettings.dontShowChannelSuggestions visible: !appSettings.hideChannelSuggestions
height: suggestionContainer.height + inviteFriendsContainer.height + Style.current.padding * 2 height: suggestionContainer.height + inviteFriendsContainer.height + Style.current.padding * 2
border.color: Style.current.border border.color: Style.current.border
@ -56,7 +56,7 @@ Rectangle {
anchors.fill: closeImg anchors.fill: closeImg
cursorShape: Qt.PointingHandCursor cursorShape: Qt.PointingHandCursor
onClicked: { onClicked: {
appSettings.dontShowChannelSuggestions = true appSettings.hideChannelSuggestions = true
} }
} }