fix: don't loader variants

Change model instead
This may or may not help with the background not loading
This commit is contained in:
2 * r + 2 * t 2026-04-06 23:04:48 +10:00
parent ffa7d88cae
commit 612f828b9f

View file

@ -7,12 +7,8 @@ import qs.components.containers
import qs.services
import qs.config
Loader {
asynchronous: true
active: Config.background.enabled
sourceComponent: Variants {
model: Screens.screens
Variants {
model: Config.background.enabled ? Screens.screens : []
StyledWindow {
id: win
@ -162,5 +158,4 @@ Loader {
}
}
}
}
}