Skip to content

Commit

Permalink
Missed testTag
Browse files Browse the repository at this point in the history
  • Loading branch information
andremion committed Feb 13, 2025
1 parent 8d48a43 commit 73e3b32
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import androidx.compose.runtime.remember
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Shape
import androidx.compose.ui.graphics.painter.Painter
import androidx.compose.ui.platform.testTag
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.DpOffset
Expand Down Expand Up @@ -63,7 +64,7 @@ public fun Avatar(
val data = remember { imageUrl.applyStreamCdnImageResizingIfEnabled(streamCdnImageResizing) }
StreamAsyncImage(
data = data,
modifier = modifier,
modifier = modifier.testTag("Stream_QuotedMessageAuthorAvatar"),
content = { state ->
val targetPainter = when (state) {
is AsyncImagePainter.State.Empty -> placeholderPainter
Expand Down

0 comments on commit 73e3b32

Please sign in to comment.