diff --git a/app/src/main/java/com/aiosman/riderpro/ui/index/tabs/profile/ProfileV3.kt b/app/src/main/java/com/aiosman/riderpro/ui/index/tabs/profile/ProfileV3.kt index ac2891b..aba9e3b 100644 --- a/app/src/main/java/com/aiosman/riderpro/ui/index/tabs/profile/ProfileV3.kt +++ b/app/src/main/java/com/aiosman/riderpro/ui/index/tabs/profile/ProfileV3.kt @@ -194,14 +194,20 @@ fun ProfileV3( Box( modifier = Modifier .fillMaxWidth() - .noRippleClickable { - Intent(Intent.ACTION_PICK).apply { - type = "image/*" - pickBannerImageLauncher.launch(this) + .let { + if (isSelf) { + it.noRippleClickable { + Intent(Intent.ACTION_PICK).apply { + type = "image/*" + pickBannerImageLauncher.launch(this) + } + } + } else { + it } } .shadow( - elevation = 4.dp, + elevation = 6.dp, shape = RoundedCornerShape( bottomStart = 32.dp, bottomEnd = 32.dp