feat(settings): moving translucent widgets toggle to appearance subtab

This commit is contained in:
Lemmy
2026-03-10 09:53:01 -04:00
parent eafcb91b8b
commit 2b12dcbf97
3 changed files with 17 additions and 17 deletions
@@ -49,6 +49,14 @@ ColumnLayout {
onToggled: checked => Settings.data.general.enableBlurBehind = checked
}
NToggle {
label: I18n.tr("panels.user-interface.translucent-widgets-label")
description: I18n.tr("panels.user-interface.translucent-widgets-description")
checked: Settings.data.ui.translucentWidgets
defaultValue: Settings.getDefaultValue("ui.translucentWidgets")
onToggled: checked => Settings.data.ui.translucentWidgets = checked
}
NComboBox {
visible: Settings.data.general.enableShadows
label: I18n.tr("panels.user-interface.shadows-direction-label")
@@ -41,14 +41,6 @@ ColumnLayout {
text: Math.floor(Settings.data.ui.panelBackgroundOpacity * 100) + "%"
}
NToggle {
label: I18n.tr("panels.user-interface.translucent-widgets-label")
description: I18n.tr("panels.user-interface.translucent-widgets-description")
checked: Settings.data.ui.translucentWidgets
defaultValue: Settings.getDefaultValue("ui.translucentWidgets")
onToggled: checked => Settings.data.ui.translucentWidgets = checked
}
NValueSlider {
Layout.fillWidth: true
label: I18n.tr("panels.user-interface.dimmer-opacity-label")