feat(Twitter - Dynamic Color): Remove blue icon and update app name (#3384)

This commit is contained in:
Advyte 2023-12-07 18:40:55 +05:30 committed by GitHub
parent f07605486b
commit 3db6615568
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ import java.nio.file.Files
@Patch(
name = "Dynamic color",
description = "Replaces the default Twitter Blue with the user's Material You palette.",
description = "Replaces the default X (Formerly Twitter) Blue with the user's Material You palette.",
compatiblePackages = [CompatiblePackage("com.twitter.android")]
)
@Suppress("unused")
@ -46,8 +46,7 @@ object DynamicColorPatch : ResourcePatch() {
"twitter_blue_opacity_30" to "@android:color/system_accent1_100",
"twitter_blue_opacity_50" to "@android:color/system_accent1_200",
"twitter_blue_opacity_58" to "@android:color/system_accent1_300",
"deep_transparent_twitter_blue" to "@android:color/system_accent1_200",
"ic_launcher_background" to "#1DA1F2"
"deep_transparent_twitter_blue" to "@android:color/system_accent1_200"
).forEach { (k, v) ->
val colorElement = document.createElement("color")