Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import androidx.compose.runtime.setValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.input.nestedscroll.nestedScroll
import androidx.compose.ui.platform.testTag
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.text.style.TextOverflow
Expand Down Expand Up @@ -272,7 +273,8 @@ private fun LogRow(
paddingBottom = 12.dp,
paddingStart = 16.dp,
paddingEnd = 4.dp,
),
)
.testTag("LogRow"),
) {
Column(modifier = Modifier.weight(weight = 1f)) {
Text(
Expand All @@ -281,7 +283,9 @@ private fun LogRow(
color = BitwardenTheme.colorScheme.text.primary,
maxLines = 1,
overflow = TextOverflow.Ellipsis,
modifier = Modifier.fillMaxWidth(),
modifier = Modifier
.fillMaxWidth()
.testTag("LogNameLabel"),
)
Spacer(modifier = Modifier.height(height = 2.dp))
Row(verticalAlignment = Alignment.CenterVertically) {
Expand All @@ -291,7 +295,9 @@ private fun LogRow(
color = BitwardenTheme.colorScheme.text.secondary,
maxLines = 1,
overflow = TextOverflow.Ellipsis,
modifier = Modifier.weight(weight = 1f),
modifier = Modifier
.weight(weight = 1f)
.testTag("LogSizeLabel"),
)
displayableItem.subtextEnd?.let {
Spacer(modifier = Modifier.width(width = 4.dp))
Expand All @@ -302,7 +308,9 @@ private fun LogRow(
maxLines = 1,
overflow = TextOverflow.Ellipsis,
textAlign = TextAlign.End,
modifier = Modifier.weight(weight = 1f),
modifier = Modifier
.weight(weight = 1f)
.testTag("LogExpirationLabel"),
)
}
}
Expand Down
Loading