forked from viewit/KX-Bridge-Release
fix: move light toggle to top
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user