add feature switch for Keycard

This commit is contained in:
Michele Balistreri 2021-09-22 11:51:04 +03:00 committed by Iuri Matias
parent 71ab9cebcf
commit 21b20fbc38
2 changed files with 11 additions and 0 deletions

View File

@ -201,6 +201,16 @@ ScrollView {
}
}
StatusSettingsLineButton {
//% "Keycard"
text: qsTr("Keycard")
isSwitch: true
switchChecked: appSettings.isKeycardEnabled
onClicked: {
appSettings.isKeycardEnabled = !appSettings.isKeycardEnabled
}
}
StatusSectionHeadline {
visible: !isWakuV2
//% "Bloom filter level"

View File

@ -61,6 +61,7 @@ StatusWindow {
property bool showOnlineUsers: false
property bool expandUsersList: false
property bool isGifWidgetEnabled: false
property bool isKeycardEnabled: false
property bool isTenorWarningAccepted: false
property bool displayChatImages: false
property bool useCompactMode: true