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:
parent
1fcec95f62
commit
ea13730601
1 changed files with 3 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ import androidx.compose.foundation.layout.Row
|
||||||
import androidx.compose.foundation.layout.consumeWindowInsets
|
import androidx.compose.foundation.layout.consumeWindowInsets
|
||||||
import androidx.compose.foundation.layout.fillMaxWidth
|
import androidx.compose.foundation.layout.fillMaxWidth
|
||||||
import androidx.compose.foundation.layout.padding
|
import androidx.compose.foundation.layout.padding
|
||||||
|
import androidx.compose.foundation.layout.size
|
||||||
import androidx.compose.foundation.lazy.LazyColumn
|
import androidx.compose.foundation.lazy.LazyColumn
|
||||||
import androidx.compose.foundation.lazy.LazyListScope
|
import androidx.compose.foundation.lazy.LazyListScope
|
||||||
import androidx.compose.foundation.lazy.items
|
import androidx.compose.foundation.lazy.items
|
||||||
|
|
@ -319,6 +320,7 @@ private fun RoomMemberListItem(
|
||||||
when (roomMemberWithIdentity.identityState) {
|
when (roomMemberWithIdentity.identityState) {
|
||||||
IdentityState.Verified -> {
|
IdentityState.Verified -> {
|
||||||
Icon(
|
Icon(
|
||||||
|
modifier = Modifier.size(20.dp),
|
||||||
imageVector = CompoundIcons.Verified(),
|
imageVector = CompoundIcons.Verified(),
|
||||||
contentDescription = stringResource(CommonStrings.common_verified),
|
contentDescription = stringResource(CommonStrings.common_verified),
|
||||||
tint = ElementTheme.colors.iconSuccessPrimary
|
tint = ElementTheme.colors.iconSuccessPrimary
|
||||||
|
|
@ -326,6 +328,7 @@ private fun RoomMemberListItem(
|
||||||
}
|
}
|
||||||
IdentityState.VerificationViolation -> {
|
IdentityState.VerificationViolation -> {
|
||||||
Icon(
|
Icon(
|
||||||
|
modifier = Modifier.size(20.dp),
|
||||||
imageVector = CompoundIcons.ErrorSolid(),
|
imageVector = CompoundIcons.ErrorSolid(),
|
||||||
contentDescription = stringResource(
|
contentDescription = stringResource(
|
||||||
CommonStrings.crypto_identity_change_profile_pin_violation,
|
CommonStrings.crypto_identity_change_profile_pin_violation,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue