From 7b477590d56a6fdfb73d7d6816fb1188b642bb97 Mon Sep 17 00:00:00 2001 From: Pa1NarK <69745008+pixincreate@users.noreply.github.com> Date: Wed, 24 Jul 2024 18:33:59 +0000 Subject: [PATCH] chore: add pixincreate as a developer for ease of access i often times find it difficult to reach to my repo --- .../com/topjohnwu/magisk/ui/home/DeveloperItem.kt | 12 ++++++++++++ app/apk/src/main/res/layout/fragment_home_md2.xml | 8 ++++++++ 2 files changed, 20 insertions(+) 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 9da7c5095083..5f652e6b0159 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 @@ -29,6 +29,10 @@ private interface CanyieImpl : Dev { override val name get() = "canyie" } +private interface PiXImpl : Dev { + override val name get() = "pixincreate" +} + sealed class DeveloperItem : Dev { abstract val items: List @@ -74,6 +78,14 @@ sealed class DeveloperItem : Dev { object : IconLink.Github.User(), CanyieImpl {} ) } + + object PiX : DeveloperItem(), PiXImpl { + override val items = + listOf( + object : IconLink.Twitter(), PiXImpl {}, + object : IconLink.Github.User(), PiXImpl {} + ) + } } sealed class IconLink : RvItem() { diff --git a/app/apk/src/main/res/layout/fragment_home_md2.xml b/app/apk/src/main/res/layout/fragment_home_md2.xml index a3d2c60cd561..8e3f69735228 100644 --- a/app/apk/src/main/res/layout/fragment_home_md2.xml +++ b/app/apk/src/main/res/layout/fragment_home_md2.xml @@ -250,6 +250,14 @@ android:layout_height="wrap_content" android:layout_marginTop="@dimen/l_50" /> + +