修正个人信息主页

This commit is contained in:
2024-10-07 10:35:02 +08:00
parent 0f9923f3e0
commit c617e0e668

View File

@@ -194,14 +194,20 @@ fun ProfileV3(
Box( Box(
modifier = Modifier modifier = Modifier
.fillMaxWidth() .fillMaxWidth()
.noRippleClickable { .let {
Intent(Intent.ACTION_PICK).apply { if (isSelf) {
type = "image/*" it.noRippleClickable {
pickBannerImageLauncher.launch(this) Intent(Intent.ACTION_PICK).apply {
type = "image/*"
pickBannerImageLauncher.launch(this)
}
}
} else {
it
} }
} }
.shadow( .shadow(
elevation = 4.dp, elevation = 6.dp,
shape = RoundedCornerShape( shape = RoundedCornerShape(
bottomStart = 32.dp, bottomStart = 32.dp,
bottomEnd = 32.dp bottomEnd = 32.dp