fix: hide channel suggestions permanently
This commit is contained in:
parent
971dca5fb8
commit
c4f2ea0f14
|
@ -11,6 +11,7 @@ Rectangle {
|
|||
id: emptyView
|
||||
Layout.fillHeight: true
|
||||
Layout.fillWidth: true
|
||||
visible: !appSettings.dontShowChannelSuggestions
|
||||
|
||||
height: suggestionContainer.height + inviteFriendsContainer.height + Style.current.padding * 2
|
||||
border.color: Style.current.border
|
||||
|
@ -55,7 +56,7 @@ Rectangle {
|
|||
anchors.fill: closeImg
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
onClicked: {
|
||||
emptyView.visible = false
|
||||
appSettings.dontShowChannelSuggestions = true
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -106,6 +106,7 @@ ApplicationWindow {
|
|||
property bool allowNotificationsFromNonContacts: false
|
||||
property var whitelistedUnfurlingSites: ({})
|
||||
property bool neverAskAboutUnfurlingAgain: false
|
||||
property bool dontShowChannelSuggestions: false
|
||||
|
||||
property int fontSize: Constants.fontSizeM
|
||||
|
||||
|
@ -141,7 +142,7 @@ ApplicationWindow {
|
|||
property bool allowNotificationsFromNonContacts: defaultAppSettings.allowNotificationsFromNonContacts
|
||||
property var whitelistedUnfurlingSites: defaultAppSettings.whitelistedUnfurlingSites
|
||||
property bool neverAskAboutUnfurlingAgain: defaultAppSettings.neverAskAboutUnfurlingAgain
|
||||
|
||||
property bool dontShowChannelSuggestions: defaultAppSettings.dontShowChannelSuggestions
|
||||
property int fontSize: defaultAppSettings.fontSize
|
||||
|
||||
// Browser settings
|
||||
|
|
Loading…
Reference in New Issue