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" /> + +