chore(@desktop/profile): Fix visibility behaviour of Apps section
Apps section with Browser settings are visible when Experimental features/Dapp Browser toggle is on. Ticket #4916
This commit is contained in:
parent
30b799a6ea
commit
5a6912d18e
|
@ -34,7 +34,7 @@ Column {
|
||||||
|
|
||||||
StatusListSectionHeadline {
|
StatusListSectionHeadline {
|
||||||
text: qsTr("Apps")
|
text: qsTr("Apps")
|
||||||
visible: root.appsMenuItemsEnabled
|
visible: root.appsMenuItemsEnabled || root.browserMenuItemEnabled
|
||||||
}
|
}
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
|
@ -46,7 +46,10 @@ Column {
|
||||||
icon.name: model.icon
|
icon.name: model.icon
|
||||||
selected: Global.settingsSubsection === model.subsection
|
selected: Global.settingsSubsection === model.subsection
|
||||||
onClicked: root.menuItemClicked(model)
|
onClicked: root.menuItemClicked(model)
|
||||||
visible: root.appsMenuItemsEnabled
|
visible: {
|
||||||
|
(model.subsection === Constants.settingsSubsection.browserSettings && root.browserMenuItemEnabled) ||
|
||||||
|
(model.subsection === Constants.settingsSubsection.wallet && root.appsMenuItemsEnabled)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue