Update Donate Icon for Patreon and other regular wallets

This commit is contained in:
LooKeR 2021-10-08 23:35:15 +05:30
parent d7d6200256
commit ceeba1ad15
2 changed files with 10 additions and 1 deletions

View File

@ -205,7 +205,7 @@ class ProductAdapter(private val callbacks: Callbacks, private val columns: Int)
override val iconResId: Int override val iconResId: Int
get() = when (donate) { get() = when (donate) {
is Product.Donate.Regular -> R.drawable.ic_public is Product.Donate.Regular -> R.drawable.ic_donate_regular
is Product.Donate.Bitcoin -> R.drawable.ic_donate_bitcoin is Product.Donate.Bitcoin -> R.drawable.ic_donate_bitcoin
is Product.Donate.Litecoin -> R.drawable.ic_donate_litecoin is Product.Donate.Litecoin -> R.drawable.ic_donate_litecoin
is Product.Donate.Flattr -> R.drawable.ic_donate_flattr is Product.Donate.Flattr -> R.drawable.ic_donate_flattr

View File

@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="?android:attr/colorBackground"
android:pathData="M11.8,10.9c-2.27,-0.59 -3,-1.2 -3,-2.15 0,-1.09 1.01,-1.85 2.7,-1.85 1.78,0 2.44,0.85 2.5,2.1h2.21c-0.07,-1.72 -1.12,-3.3 -3.21,-3.81V3h-3v2.16c-1.94,0.42 -3.5,1.68 -3.5,3.61 0,2.31 1.91,3.46 4.7,4.13 2.5,0.6 3,1.48 3,2.41 0,0.69 -0.49,1.79 -2.7,1.79 -2.06,0 -2.87,-0.92 -2.98,-2.1h-2.2c0.12,2.19 1.76,3.42 3.68,3.83V21h3v-2.15c1.95,-0.37 3.5,-1.5 3.5,-3.55 0,-2.84 -2.43,-3.81 -4.7,-4.4z" />
</vector>