diff --git a/app/src/main/java/com/topjohnwu/magisk/ui/home/DeveloperItem.kt b/app/src/main/java/com/topjohnwu/magisk/ui/home/DeveloperItem.kt index 4010937d8..caeab07b2 100644 --- a/app/src/main/java/com/topjohnwu/magisk/ui/home/DeveloperItem.kt +++ b/app/src/main/java/com/topjohnwu/magisk/ui/home/DeveloperItem.kt @@ -24,6 +24,10 @@ private interface RikkaImpl : Dev { override val name get() = "RikkaW" } +private interface CanyieImpl : Dev { + override val name get() = "canyie" +} + sealed class DeveloperItem : Dev { abstract val items: List @@ -61,6 +65,14 @@ sealed class DeveloperItem : Dev { object : IconLink.Github.User(), RikkaImpl {} ) } + + object Canyie : DeveloperItem(), CanyieImpl { + override val items = + listOf( + object : IconLink.Twitter() { override val name = "canyie2977" }, + object : IconLink.Github.User(), CanyieImpl {} + ) + } } sealed class IconLink : RvItem() { diff --git a/app/src/main/res/layout/fragment_home_md2.xml b/app/src/main/res/layout/fragment_home_md2.xml index 66e31d5de..a3d2c60cd 100644 --- a/app/src/main/res/layout/fragment_home_md2.xml +++ b/app/src/main/res/layout/fragment_home_md2.xml @@ -242,6 +242,14 @@ android:layout_height="wrap_content" android:layout_marginTop="@dimen/l_50" /> + +