mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
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:
+3
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user