Adjust the size of the verification icon in the room member list too

It was 24dp, it should be 20dp.
This commit is contained in:
Jorge Martín 2025-03-17 10:14:40 +01:00
parent ff0e1ad2af
commit 6b9c46db38

View file

@ -22,6 +22,7 @@ import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.consumeWindowInsets
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.LazyListScope
import androidx.compose.foundation.lazy.items
@ -319,6 +320,7 @@ private fun RoomMemberListItem(
when (roomMemberWithIdentity.identityState) {
IdentityState.Verified -> {
Icon(
modifier = Modifier.size(20.dp),
imageVector = CompoundIcons.Verified(),
contentDescription = stringResource(CommonStrings.common_verified),
tint = ElementTheme.colors.iconSuccessPrimary
@ -326,6 +328,7 @@ private fun RoomMemberListItem(
}
IdentityState.VerificationViolation -> {
Icon(
modifier = Modifier.size(20.dp),
imageVector = CompoundIcons.ErrorSolid(),
contentDescription = stringResource(
CommonStrings.crypto_identity_change_profile_pin_violation,