From 1fe58810a01f78dee901f5d23ac3ebfd0f1b707d Mon Sep 17 00:00:00 2001 From: Believethehype Date: Tue, 21 Mar 2023 08:46:19 +0100 Subject: [PATCH] 2 additional popular community hashtagicons plebchain / coffeechain --- .../amethyst/model/HashtagIcon.kt | 3 + app/src/main/res/drawable-xxxhdpi/coffee.xml | 1183 +++++++++++++++++ app/src/main/res/drawable/plebs.xml | 861 ++++++++++++ 3 files changed, 2047 insertions(+) create mode 100644 app/src/main/res/drawable-xxxhdpi/coffee.xml create mode 100644 app/src/main/res/drawable/plebs.xml diff --git a/app/src/main/java/com/vitorpamplona/amethyst/model/HashtagIcon.kt b/app/src/main/java/com/vitorpamplona/amethyst/model/HashtagIcon.kt index 83b5e26ab..bf3dac184 100644 --- a/app/src/main/java/com/vitorpamplona/amethyst/model/HashtagIcon.kt +++ b/app/src/main/java/com/vitorpamplona/amethyst/model/HashtagIcon.kt @@ -11,6 +11,9 @@ fun checkForHashtagWithIcon(tag: String): HashtagIcon? { "lightning", "lightningnetwork" -> HashtagIcon(R.drawable.ht_lightning, "Lightning", Color.Unspecified, Modifier.padding(1.dp, 3.dp, 0.dp, 0.dp)) "zap", "zaps", "zapper", "zappers", "zapping", "zapped", "zapathon", "zapraiser", "zaplife" -> HashtagIcon(R.drawable.zap, "Zap", Color.Unspecified, Modifier.padding(1.dp, 3.dp, 0.dp, 0.dp)) "amethyst" -> HashtagIcon(R.drawable.amethyst, "Amethyst", Color.Unspecified, Modifier.padding(4.dp, 3.dp, 0.dp, 0.dp)) + "plebs", "pleb", "plebchain" -> HashtagIcon(R.drawable.plebs, "Amethyst", Color.Unspecified, Modifier.padding(1.dp, 3.dp, 0.dp, 0.dp)) + "coffee", "coffeechain" -> HashtagIcon(R.drawable.coffee, "Amethyst", Color.Unspecified, Modifier.padding(1.dp, 3.dp, 0.dp, 0.dp)) + else -> null } } diff --git a/app/src/main/res/drawable-xxxhdpi/coffee.xml b/app/src/main/res/drawable-xxxhdpi/coffee.xml new file mode 100644 index 000000000..61cf17545 --- /dev/null +++ b/app/src/main/res/drawable-xxxhdpi/coffee.xml @@ -0,0 +1,1183 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/plebs.xml b/app/src/main/res/drawable/plebs.xml new file mode 100644 index 000000000..c64a71e6f --- /dev/null +++ b/app/src/main/res/drawable/plebs.xml @@ -0,0 +1,861 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file