Fixing the lack of the checkmark in the verification icons

This commit is contained in:
Vitor Pamplona
2023-07-02 15:46:41 -04:00
parent 083394b928
commit 1beacd240e
2 changed files with 3 additions and 4 deletions

View File

@@ -75,7 +75,6 @@ import com.vitorpamplona.amethyst.ui.actions.LoadingAnimation
import com.vitorpamplona.amethyst.ui.actions.SaveToGallery import com.vitorpamplona.amethyst.ui.actions.SaveToGallery
import com.vitorpamplona.amethyst.ui.note.BlankNote import com.vitorpamplona.amethyst.ui.note.BlankNote
import com.vitorpamplona.amethyst.ui.theme.Font17SP import com.vitorpamplona.amethyst.ui.theme.Font17SP
import com.vitorpamplona.amethyst.ui.theme.hashVerified
import com.vitorpamplona.amethyst.ui.theme.imageModifier import com.vitorpamplona.amethyst.ui.theme.imageModifier
import kotlinx.collections.immutable.ImmutableList import kotlinx.collections.immutable.ImmutableList
import kotlinx.collections.immutable.toImmutableList import kotlinx.collections.immutable.toImmutableList
@@ -612,7 +611,7 @@ private fun HashVerificationSymbol(verifiedHash: Boolean, modifier: Modifier) {
Icon( Icon(
painter = painterResource(R.drawable.ic_verified), painter = painterResource(R.drawable.ic_verified),
"Hash Verified", "Hash Verified",
tint = MaterialTheme.colors.hashVerified, tint = Color.Unspecified,
modifier = Modifier.size(30.dp) modifier = Modifier.size(30.dp)
) )
} }

View File

@@ -182,7 +182,7 @@ private fun NIP05VerifiedSymbol(nip05Verified: MutableState<Boolean?>) {
) )
} else if (nip05Verified.value == true) { } else if (nip05Verified.value == true) {
Icon( Icon(
painter = painterResource(R.drawable.ic_verified), painter = painterResource(R.drawable.ic_verified_transparent),
"NIP-05 Verified", "NIP-05 Verified",
tint = Nip05.copy(0.52f), tint = Nip05.copy(0.52f),
modifier = Modifier modifier = Modifier
@@ -218,7 +218,7 @@ fun DisplayNip05ProfileStatus(user: User) {
) )
} else if (nip05Verified == true) { } else if (nip05Verified == true) {
Icon( Icon(
painter = painterResource(R.drawable.ic_verified), painter = painterResource(R.drawable.ic_verified_transparent),
"NIP-05 Verified", "NIP-05 Verified",
tint = Nip05, tint = Nip05,
modifier = Modifier.size(16.dp) modifier = Modifier.size(16.dp)