shell: only launch setupwizard if not nixos

DistroLogoService -> DistroService
This commit is contained in:
lysec
2025-10-16 13:43:57 +02:00
parent dd882401ce
commit df7e0d026b
5 changed files with 16 additions and 9 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ NIconButton {
if (customIconPath !== "")
return customIconPath.startsWith("file://") ? customIconPath : "file://" + customIconPath
if (useDistroLogo)
return DistroLogoService.osLogo
return DistroService.osLogo
return ""
}
visible: source !== ""
@@ -31,7 +31,7 @@ ColumnLayout {
label: I18n.tr("bar.widget-settings.control-center.use-distro-logo.label")
description: I18n.tr("bar.widget-settings.control-center.use-distro-logo.description")
checked: valueUseDistroLogo
onToggled: {
onToggled: function (checked) {
valueUseDistroLogo = checked
if (checked) {
valueCustomIconPath = ""
+4 -4
View File
@@ -99,10 +99,10 @@ ColumnLayout {
enabled: ProgramCheckerService.app2unitAvailable
opacity: ProgramCheckerService.app2unitAvailable ? 1.0 : 0.6
onToggled: checked => {
if (ProgramCheckerService.app2unitAvailable) {
Settings.data.appLauncher.useApp2Unit = checked
}
}
if (ProgramCheckerService.app2unitAvailable) {
Settings.data.appLauncher.useApp2Unit = checked
}
}
}
NTextInput {