File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
feature_profile/src/main/java/com/my/kizzy/feature_profile/ui/component Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ import androidx.compose.ui.Modifier
42
42
import androidx.compose.ui.draw.clip
43
43
import androidx.compose.ui.graphics.Brush
44
44
import androidx.compose.ui.graphics.Color
45
+ import androidx.compose.ui.layout.ContentScale
45
46
import androidx.compose.ui.platform.LocalUriHandler
46
47
import androidx.compose.ui.res.painterResource
47
48
import androidx.compose.ui.text.TextStyle
@@ -103,6 +104,7 @@ fun ProfileCard(
103
104
.fillMaxWidth()
104
105
.height(120 .dp),
105
106
model = user.getBannerImage() ? : USER_BANNER ,
107
+ contentScale = ContentScale .FillWidth ,
106
108
placeholder = painterResource(R .drawable.broken_image),
107
109
contentDescription = " User Avatar"
108
110
)
You can’t perform that action at this time.
0 commit comments