updated icons
@@ -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
|
||||
}
|
||||
|
Before Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 7.8 KiB |