fix(ui): import isSystemInDarkTheme in ChatScreen and correct padding signature in Sidebar
This commit is contained in:
parent
37e424df3e
commit
7235cd7bc1
2 changed files with 2 additions and 4 deletions
|
|
@ -1,8 +1,6 @@
|
||||||
package dev.kaizen.app.chat
|
package dev.kaizen.app.chat
|
||||||
|
|
||||||
import androidx.compose.foundation.background
|
import androidx.compose.foundation.isSystemInDarkTheme
|
||||||
import androidx.compose.foundation.border
|
|
||||||
import androidx.compose.foundation.clickable
|
|
||||||
import androidx.compose.foundation.layout.Arrangement
|
import androidx.compose.foundation.layout.Arrangement
|
||||||
import androidx.compose.foundation.layout.Box
|
import androidx.compose.foundation.layout.Box
|
||||||
import androidx.compose.foundation.layout.Column
|
import androidx.compose.foundation.layout.Column
|
||||||
|
|
|
||||||
|
|
@ -134,7 +134,7 @@ fun KaizenSidebar(
|
||||||
modifier = modifier
|
modifier = modifier
|
||||||
.fillMaxHeight()
|
.fillMaxHeight()
|
||||||
.width(300.dp)
|
.width(300.dp)
|
||||||
.padding(vertical = 12.dp, start = 12.dp, end = 4.dp)
|
.padding(start = 12.dp, top = 12.dp, end = 4.dp, bottom = 12.dp) // Standard signature (start, top, end, bottom)
|
||||||
.shadow(elevation = 16.dp, shape = RoundedCornerShape(24.dp), clip = false)
|
.shadow(elevation = 16.dp, shape = RoundedCornerShape(24.dp), clip = false)
|
||||||
.clip(RoundedCornerShape(24.dp))
|
.clip(RoundedCornerShape(24.dp))
|
||||||
.background(glassBg)
|
.background(glassBg)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue