修正个人信息主页
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user