fix: fix compilation errors in SessionsScreen.kt
This commit is contained in:
1 parent
4327389b32
commit
402664b6f2
1 file changed
+3
-3
@@ -89,8 +89,8 @@ fun SessionsScreen(
|
|||||||
modifier
|
modifier
|
||||||
.fillMaxSize()
|
.fillMaxSize()
|
||||||
.padding(paddingValues),
|
.padding(paddingValues),
|
||||||
contentPadding = listContentPadding(),
|
contentPadding = listContentPadding,
|
||||||
verticalArrangement = listItemSpacing(),
|
verticalArrangement = listItemSpacing,
|
||||||
) {
|
) {
|
||||||
items(state.sessions, key = { it.id }) { session ->
|
items(state.sessions, key = { it.id }) { session ->
|
||||||
SessionCard(
|
SessionCard(
|
||||||
@@ -155,7 +155,7 @@ private fun SessionCard(
|
|||||||
when (status.lowercase()) {
|
when (status.lowercase()) {
|
||||||
"active" -> StatusBadgeType.SUCCESS
|
"active" -> StatusBadgeType.SUCCESS
|
||||||
"paused" -> StatusBadgeType.WARNING
|
"paused" -> StatusBadgeType.WARNING
|
||||||
else -> StatusBadgeType.DEFAULT
|
else -> StatusBadgeType.NEUTRAL
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user