fix: add a clip
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
/*
|
||||
* Created by sweetbread
|
||||
* Copyright (c) 2025. All rights reserved.
|
||||
* Last modified 03.03.2025, 20:22
|
||||
*/
|
||||
|
||||
package ru.risdeveau.pixeldragon.ui.layout
|
||||
@@ -102,14 +101,15 @@ fun RoomItem(modifier: Modifier = Modifier, rid: String, navController: NavContr
|
||||
.padding(8.dp)
|
||||
.height((52 + 8 * 2).dp)
|
||||
.fillMaxWidth()
|
||||
.background(MaterialTheme.colorScheme.background, RoundedCornerShape(16.dp))
|
||||
.padding(8.dp)
|
||||
.background(MaterialTheme.colorScheme.background)
|
||||
.clip(RoundedCornerShape(12.dp))
|
||||
.clickable {
|
||||
if (room!!.type == "m.space")
|
||||
navController.navigate("space/$rid")
|
||||
else
|
||||
navController.navigate("room/$rid")
|
||||
}
|
||||
.padding(8.dp)
|
||||
) {
|
||||
SubcomposeAsyncImage(
|
||||
modifier = Modifier
|
||||
@@ -152,7 +152,8 @@ fun RoomItem(modifier: Modifier = Modifier, rid: String, navController: NavContr
|
||||
.padding(8.dp)
|
||||
.height(80.dp)
|
||||
.fillMaxWidth()
|
||||
.background(MaterialTheme.colorScheme.background, RoundedCornerShape(16.dp))
|
||||
.background(MaterialTheme.colorScheme.background)
|
||||
.clip(RoundedCornerShape(16.dp))
|
||||
.padding(8.dp)
|
||||
) {
|
||||
LinearProgressIndicator(Modifier.fillMaxWidth())
|
||||
|
||||
Reference in New Issue
Block a user