updated icons

This commit is contained in:
Believethehype
2023-03-17 23:34:59 +01:00
parent 435e99e81a
commit 88292aa179
11 changed files with 5 additions and 5 deletions

View File

@@ -4,13 +4,13 @@ import androidx.compose.ui.graphics.Color
import com.vitorpamplona.amethyst.R
fun checkForHashtagWithIcon(tag: String): HashtagIcon? {
if (tag.lowercase() == "bitcoin" || tag.lowercase() == "btc") {
return HashtagIcon(R.drawable.ht_btc, "Bitcoin", Color(0xFFF2A900))
return HashtagIcon(R.drawable.ht_btc, "Bitcoin", Color.Unspecified)
} else if (tag.lowercase() == "nostr") {
return HashtagIcon(R.drawable.ht_nostr, "Nostr", Color(0xFF9C59FF))
} else if (tag.lowercase() == "zap" || tag.lowercase() == "zapathon" || tag.lowercase() == "zapraiser" || tag.lowercase() == "zaplife" || tag.lowercase() == "lightning") {
return HashtagIcon(R.drawable.ht_zap, "Zap", Color(0xFFFFEC01))
return HashtagIcon(R.drawable.ht_nostr, "Nostr", Color.Unspecified)
} else if (tag.lowercase() == "zap" || tag.lowercase() == "zap" || tag.lowercase() == "zapathon" || tag.lowercase() == "zapraiser" || tag.lowercase() == "zaplife" || tag.lowercase() == "lightning") {
return HashtagIcon(R.drawable.lightning, "Zap", Color.Unspecified)
} else if (tag.lowercase() == "amethyst") {
return HashtagIcon(R.drawable.ht_amethyst, "Amethyst", Color(0xFFb793e6))
return HashtagIcon(R.drawable.amethyst, "Amethyst", Color.Unspecified)
}
return null
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB