homescreen: Fix initial zoom state

This code seemed to depend on the task switcher state changing for
having the initial state being correct.
https://invent.kde.org/plasma/plasma-mobile/-/merge_requests/800 exposed
this since the signal no longer gets emitted at the beginning.
This commit is contained in:
Devin Lin 2025-08-13 23:50:26 -04:00
parent 689f28a6ea
commit f6b6c51921

View file

@ -103,6 +103,11 @@ Item {
itemContainer.zoomIn(); itemContainer.zoomIn();
} }
} }
Component.onCompleted: {
// Set initial item container state
onIsTaskSwitcherVisibleChanged();
}
} }
//END API implementation //END API implementation