Special Hashtag for #Nostr
This commit is contained in:
@@ -4,7 +4,9 @@ import androidx.compose.ui.graphics.Color
|
|||||||
import com.vitorpamplona.amethyst.R
|
import com.vitorpamplona.amethyst.R
|
||||||
fun checkForHashtagWithIcon(tag: String): HashtagIcon? {
|
fun checkForHashtagWithIcon(tag: String): HashtagIcon? {
|
||||||
if (tag.lowercase() == "bitcoin" || tag.lowercase() == "btc") {
|
if (tag.lowercase() == "bitcoin" || tag.lowercase() == "btc") {
|
||||||
return HashtagIcon(R.drawable.ht_btc, "Bitcoin", Color(0xFFf2A900))
|
return HashtagIcon(R.drawable.ht_btc, "Bitcoin", Color(0xFFF2A900))
|
||||||
|
} else if (tag.lowercase() == "nostr") {
|
||||||
|
return HashtagIcon(R.drawable.ht_nostr, "Nostr", Color(0xFF9C59FF))
|
||||||
}
|
}
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 70 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 70 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 70 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 70 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 70 KiB |
Reference in New Issue
Block a user