From a6ea7cefeaeca4877964f3e8abceea7304621ae4 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Sat, 29 Aug 2026 23:18:52 -0700 Subject: [PATCH] Update links, icons, and developer --- .../com/topjohnwu/magisk/ui/home/HomeScreen.kt | 14 +++++++------- .../com/topjohnwu/magisk/ui/home/DeveloperItem.kt | 2 +- app/core/src/main/res/drawable/ic_twitter.xml | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/apk-ng/src/main/java/com/topjohnwu/magisk/ui/home/HomeScreen.kt b/app/apk-ng/src/main/java/com/topjohnwu/magisk/ui/home/HomeScreen.kt index 81771b784..7591d3cd1 100644 --- a/app/apk-ng/src/main/java/com/topjohnwu/magisk/ui/home/HomeScreen.kt +++ b/app/apk-ng/src/main/java/com/topjohnwu/magisk/ui/home/HomeScreen.kt @@ -746,24 +746,24 @@ private data class DeveloperInfo(val name: String, val links: List) private val developers = listOf( DeveloperInfo("topjohnwu", listOf( - LinkInfo(CoreR.string.twitter, CoreR.drawable.ic_twitter, "https://twitter.com/topjohnwu"), + LinkInfo(CoreR.string.twitter, CoreR.drawable.ic_twitter, "https://x.com/topjohnwu"), LinkInfo(CoreR.string.github, CoreR.drawable.ic_github, Const.Url.SOURCE_CODE_URL), )), DeveloperInfo("vvb2060", listOf( - LinkInfo(CoreR.string.twitter, CoreR.drawable.ic_twitter, "https://twitter.com/vvb2060"), + LinkInfo(CoreR.string.twitter, CoreR.drawable.ic_twitter, "https://x.com/vvb2060"), LinkInfo(CoreR.string.github, CoreR.drawable.ic_github, "https://github.com/vvb2060"), )), DeveloperInfo("yujincheng08", listOf( LinkInfo(CoreR.string.sponsor, CoreR.drawable.ic_favorite, "https://github.com/sponsors/yujincheng08"), - LinkInfo(CoreR.string.twitter, CoreR.drawable.ic_twitter, "https://twitter.com/shanasaimoe"), + LinkInfo(CoreR.string.twitter, CoreR.drawable.ic_twitter, "https://x.com/shanasaimoe"), LinkInfo(CoreR.string.github, CoreR.drawable.ic_github, "https://github.com/yujincheng08"), )), - DeveloperInfo("rikkawww", listOf( - LinkInfo(CoreR.string.twitter, CoreR.drawable.ic_twitter, "https://twitter.com/rikkawww"), - LinkInfo(CoreR.string.github, CoreR.drawable.ic_github, "https://github.com/rikkawww"), + DeveloperInfo("aviraxp", listOf( + LinkInfo(CoreR.string.sponsor, CoreR.drawable.ic_favorite, "https://ko-fi.com/A46115EM"), + LinkInfo(CoreR.string.github, CoreR.drawable.ic_github, "https://github.com/aviraxp"), )), DeveloperInfo("canyie", listOf( - LinkInfo(CoreR.string.twitter, CoreR.drawable.ic_twitter, "https://twitter.com/canyie2977"), + LinkInfo(CoreR.string.twitter, CoreR.drawable.ic_twitter, "https://x.com/canyie2977"), LinkInfo(CoreR.string.github, CoreR.drawable.ic_github, "https://github.com/canyie"), )), ) diff --git a/app/apk/src/main/java/com/topjohnwu/magisk/ui/home/DeveloperItem.kt b/app/apk/src/main/java/com/topjohnwu/magisk/ui/home/DeveloperItem.kt index 9da7c5095..4c2814006 100644 --- a/app/apk/src/main/java/com/topjohnwu/magisk/ui/home/DeveloperItem.kt +++ b/app/apk/src/main/java/com/topjohnwu/magisk/ui/home/DeveloperItem.kt @@ -103,7 +103,7 @@ sealed class IconLink : RvItem() { abstract class Twitter : IconLink(), Dev { override val icon get() = CoreR.drawable.ic_twitter override val title get() = CoreR.string.twitter - override val link get() = "https://twitter.com/$name" + override val link get() = "https://x.com/$name" } abstract class Github : IconLink() { diff --git a/app/core/src/main/res/drawable/ic_twitter.xml b/app/core/src/main/res/drawable/ic_twitter.xml index 1bdb389c4..ee66d26af 100644 --- a/app/core/src/main/res/drawable/ic_twitter.xml +++ b/app/core/src/main/res/drawable/ic_twitter.xml @@ -5,5 +5,5 @@ android:viewportHeight="24"> + android:pathData="M17.37,3.64L20.2,3.64L13.98,10.74L21.25,20.36L15.54,20.36L11.07,14.51L5.95,20.36L3.12,20.36L9.72,12.77L2.75,3.64L8.6,3.64L12.64,8.98ZM16.38,18.69L17.95,18.69L7.77,5.25L6.08,5.25Z"/>