登录
This commit is contained in:
@@ -62,7 +62,8 @@ fun CommentsScreen() {
|
||||
|
||||
@Composable
|
||||
fun NoticeScreenHeader(
|
||||
title:String
|
||||
title:String,
|
||||
moreIcon: Boolean = true
|
||||
) {
|
||||
val nav = LocalNavController.current
|
||||
Row(
|
||||
@@ -80,13 +81,16 @@ fun NoticeScreenHeader(
|
||||
}
|
||||
)
|
||||
Spacer(modifier = Modifier.size(12.dp))
|
||||
Text(title, fontWeight = FontWeight.Bold, fontSize = 17.sp)
|
||||
Spacer(modifier = Modifier.weight(1f))
|
||||
Image(
|
||||
painter = painterResource(id = R.drawable.rider_pro_more_horizon),
|
||||
contentDescription = "More",
|
||||
modifier = Modifier.size(24.dp)
|
||||
)
|
||||
Text(title, fontWeight = FontWeight.W800, fontSize = 17.sp)
|
||||
if (moreIcon) {
|
||||
Spacer(modifier = Modifier.weight(1f))
|
||||
Image(
|
||||
painter = painterResource(id = R.drawable.rider_pro_more_horizon),
|
||||
contentDescription = "More",
|
||||
modifier = Modifier.size(24.dp)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user