refactor(ui): Split PodCardComponents into per-component files

Move each composable from PodCardComponents.kt into its own file under a new cards/components/ subpackage. Add previews to each file. Also add getBatteryIcon() for Compose Material Icon battery levels used in the popup.
This commit is contained in:
darken
2026-04-14 11:28:41 +02:00
committed by Matthias Urhahn
parent 04c23ecf63
commit 34c23751b3
14 changed files with 673 additions and 471 deletions
@@ -1,5 +1,8 @@
package eu.darken.capod.main.ui.overview.cards
import eu.darken.capod.main.ui.overview.cards.components.SignalLevel
import eu.darken.capod.main.ui.overview.cards.components.signalLevelOf
import io.kotest.matchers.shouldBe
import org.junit.jupiter.api.Test
import testhelpers.BaseTest