Revert favourite icon colour for prod release

This commit is contained in:
Mike Barnes 2026-01-08 22:48:01 +11:00
commit beac8fa02e
3 changed files with 5 additions and 4 deletions

View file

@ -31,8 +31,8 @@ android {
namespace "com.keylesspalace.tusky" namespace "com.keylesspalace.tusky"
minSdk 24 minSdk 24
targetSdk 35 targetSdk 35
versionCode 95 versionCode 96
versionName "28.0-CW1" versionName "28.0-CW2"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true

View file

@ -235,7 +235,7 @@ internal class StatusNotificationViewHolder(
val icon: Drawable? val icon: Drawable?
when (type) { when (type) {
Notification.Type.Favourite -> { Notification.Type.Favourite -> {
icon = getIconWithColor(context, R.drawable.ic_star_24dp, R.color.chinwag_gold) icon = getIconWithColor(context, R.drawable.ic_star_24dp, R.color.tusky_orange_light)
format = context.getString(R.string.notification_favourite_format) format = context.getString(R.string.notification_favourite_format)
} }
Notification.Type.Reblog -> { Notification.Type.Reblog -> {
@ -251,7 +251,7 @@ internal class StatusNotificationViewHolder(
format = context.getString(R.string.notification_update_format) format = context.getString(R.string.notification_update_format)
} }
else -> { else -> {
icon = getIconWithColor(context, R.drawable.ic_star_24dp, R.color.chinwag_gold) icon = getIconWithColor(context, R.drawable.ic_star_24dp, R.color.tusky_orange_light)
format = context.getString(R.string.notification_favourite_format) format = context.getString(R.string.notification_favourite_format)
} }
} }

View file

@ -54,6 +54,7 @@
<color name="chinwag_green_light">#508f53</color> <color name="chinwag_green_light">#508f53</color>
<color name="transparent_chinwag_green">#69679569</color> <color name="transparent_chinwag_green">#69679569</color>
<color name="chinwag_gold">#e4e270</color> <color name="chinwag_gold">#e4e270</color>
<color name="chinwag_gold_light">#fffed8</color>
<color name="chinwag_grey_dark">#cecec1</color> <color name="chinwag_grey_dark">#cecec1</color>
<color name="chinwag_grey_medium">#f0f0ec</color> <color name="chinwag_grey_medium">#f0f0ec</color>