Skip to content

Commit e31375d

Browse files
committed
Profile.kt: Add error parameter to AsyncImage
1 parent f17d6c7 commit e31375d

File tree

1 file changed

+1
-0
lines changed
  • core/auth/ui/compose/src/main/kotlin/com/edricchan/studybuddy/core/auth/ui

1 file changed

+1
-0
lines changed

core/auth/ui/compose/src/main/kotlin/com/edricchan/studybuddy/core/auth/ui/Profile.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ fun ProfileImage(
9090
modifier = modifier.clip(shape),
9191
model = model,
9292
placeholder = tintedPainter(rememberVectorPainter(Icons.Outlined.AccountCircle)),
93+
error = tintedPainter(rememberVectorPainter(Icons.Outlined.AccountCircle)),
9394
contentDescription = stringResource(R.string.account_profile_content_desc, displayName),
9495
contentScale = ContentScale.Crop,
9596
)

0 commit comments

Comments
 (0)