fix: move light toggle to top

This commit is contained in:
2026-06-03 07:24:37 -05:00
parent e473359ceb
commit 7c62f60bde

View File

@@ -156,6 +156,12 @@ private fun PrinterContent(
) {
StatusBadge(state.printState)
LightCard(
isOn = state.lightOn,
brightness = state.lightBrightness,
onToggle = onToggleLight,
)
CameraCard(
cameraFrame = cameraFrame,
cameraEnabled = cameraEnabled,
@@ -197,12 +203,6 @@ private fun PrinterContent(
)
}
LightCard(
isOn = state.lightOn,
brightness = state.lightBrightness,
onToggle = onToggleLight,
)
if (state.amsSlots.isNotEmpty()) {
FilamentCard(slots = state.amsSlots, mode = state.filamentMode)
}