@@ -41,6 +41,7 @@ import androidx.compose.ui.platform.LocalFocusManager
41
41
import androidx.compose.ui.platform.LocalView
42
42
import androidx.compose.ui.res.painterResource
43
43
import androidx.compose.ui.res.stringResource
44
+ import androidx.compose.ui.text.style.TextAlign
44
45
import androidx.compose.ui.unit.dp
45
46
import androidx.compose.ui.zIndex
46
47
import androidx.core.view.ViewCompat
@@ -152,6 +153,9 @@ fun ProfileEditScreen(
152
153
.clip(CircleShape ),
153
154
model = ImageRequest .Builder (LocalContext .current)
154
155
.data(state.profilePath)
156
+ .error(com.bff.wespot.designsystem.R .drawable.default_image)
157
+ .fallback(com.bff.wespot.designsystem.R .drawable.default_image)
158
+ .placeholder(com.bff.wespot.designsystem.R .drawable.default_image)
155
159
.crossfade(true )
156
160
.build(),
157
161
contentDescription = stringResource(
@@ -309,7 +313,9 @@ fun ProfileEditScreen(
309
313
),
310
314
)
311
315
action(EntireEditAction .ChangeBottomSheetState (false ))
312
- }
316
+ },
317
+ textAlign = TextAlign .Center ,
318
+ style = StaticTypeScale .Default .body3,
313
319
)
314
320
HorizontalDivider (
315
321
color = Color (0xFF4F5157 ),
@@ -321,7 +327,9 @@ fun ProfileEditScreen(
321
327
.clickableSingle {
322
328
action(EntireEditAction .OnProfileImagePicked (null ))
323
329
action(EntireEditAction .ChangeBottomSheetState (false ))
324
- }
330
+ },
331
+ textAlign = TextAlign .Center ,
332
+ style = StaticTypeScale .Default .body3,
325
333
)
326
334
}
327
335
}
0 commit comments