mirror of
https://github.com/D-Modem/app.git
synced 2026-11-28 17:38:05 -08:00
Modem lights: LEDs standing up on Home (the panel and the bare strip), lying down in the Terminal's compact strip
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
This commit is contained in:
1 file changed
+2
-2
@@ -127,9 +127,9 @@ private val Case = Brush.verticalGradient(listOf(Color(0xff45474b), Color(0xff2a
|
||||
private val Legend = Color(0xffd4d5d8)
|
||||
private val Badge = Color(0xffeceef1)
|
||||
|
||||
/** the panel drawn for [lights] (the screenshots draw it too) */
|
||||
/** the panel drawn for [lights] (the screenshots draw it too): LEDs standing up, lying down in the compact strip */
|
||||
@Composable
|
||||
fun Panel(lights: Lights, modifier: Modifier = Modifier, compact: Boolean = false, bare: Boolean = false, vertical: Boolean = false) {
|
||||
fun Panel(lights: Lights, modifier: Modifier = Modifier, compact: Boolean = false, bare: Boolean = false, vertical: Boolean = !compact) {
|
||||
if (bare) {
|
||||
Strip(lights, modifier, compact = false, vertical)
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user