mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-10-06 20:43:43 +02:00
Fixing the lack of the checkmark in the verification icons
This commit is contained in:
@@ -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)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@@ -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)
|
||||||
|
Reference in New Issue
Block a user