mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
fix(deps): update coil to v3.2.0 (#4712)
* fix(deps): update coil to v3.2.0 * Fix compilation issue. Need to provide an image for preview. https://coil-kt.github.io/coil/compose/#previews * Improve preview for images. * Update screenshots * More cleanup * Update screenshots --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Benoit Marty <benoit@matrix.org> Co-authored-by: ElementBot <android@element.io>
This commit is contained in:
+6
-2
@@ -28,6 +28,7 @@ import io.element.android.libraries.designsystem.components.avatar.AvatarSize
|
||||
import io.element.android.libraries.designsystem.preview.ElementPreview
|
||||
import io.element.android.libraries.designsystem.preview.PreviewsDayNight
|
||||
import io.element.android.libraries.designsystem.theme.components.Text
|
||||
import io.element.android.libraries.designsystem.utils.CommonDrawables
|
||||
import io.element.android.libraries.matrix.api.core.UserId
|
||||
|
||||
@Composable
|
||||
@@ -42,7 +43,8 @@ fun VerificationUserProfileContent(
|
||||
}
|
||||
|
||||
Row(
|
||||
modifier = modifier.fillMaxWidth()
|
||||
modifier = modifier
|
||||
.fillMaxWidth()
|
||||
.clip(RoundedCornerShape(8.dp))
|
||||
.background(ElementTheme.colors.bgSubtleSecondary)
|
||||
.padding(12.dp),
|
||||
@@ -64,7 +66,9 @@ fun VerificationUserProfileContent(
|
||||
|
||||
@PreviewsDayNight
|
||||
@Composable
|
||||
internal fun VerificationUserProfileContentPreview() = ElementPreview {
|
||||
internal fun VerificationUserProfileContentPreview() = ElementPreview(
|
||||
drawableFallbackForImages = CommonDrawables.sample_avatar
|
||||
) {
|
||||
VerificationUserProfileContent(
|
||||
userId = UserId("@alice:example.com"),
|
||||
displayName = "Alice",
|
||||
|
||||
Reference in New Issue
Block a user