mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-04-25 13:30:47 +00:00
Add canyie to developer list
This commit is contained in:
parent
ae9d270a32
commit
189c03c047
@ -24,6 +24,10 @@ private interface RikkaImpl : Dev {
|
|||||||
override val name get() = "RikkaW"
|
override val name get() = "RikkaW"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private interface CanyieImpl : Dev {
|
||||||
|
override val name get() = "canyie"
|
||||||
|
}
|
||||||
|
|
||||||
sealed class DeveloperItem : Dev {
|
sealed class DeveloperItem : Dev {
|
||||||
|
|
||||||
abstract val items: List<IconLink>
|
abstract val items: List<IconLink>
|
||||||
@ -61,6 +65,14 @@ sealed class DeveloperItem : Dev {
|
|||||||
object : IconLink.Github.User(), RikkaImpl {}
|
object : IconLink.Github.User(), RikkaImpl {}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
object Canyie : DeveloperItem(), CanyieImpl {
|
||||||
|
override val items =
|
||||||
|
listOf<IconLink>(
|
||||||
|
object : IconLink.Twitter() { override val name = "canyie2977" },
|
||||||
|
object : IconLink.Github.User(), CanyieImpl {}
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sealed class IconLink : RvItem() {
|
sealed class IconLink : RvItem() {
|
||||||
|
@ -242,6 +242,14 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/l_50" />
|
android:layout_marginTop="@dimen/l_50" />
|
||||||
|
|
||||||
|
<include
|
||||||
|
item="@{DeveloperItem.Canyie.INSTANCE}"
|
||||||
|
layout="@layout/item_developer"
|
||||||
|
viewModel="@{viewModel}"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="@dimen/l_50" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</com.google.android.material.card.MaterialCardView>
|
</com.google.android.material.card.MaterialCardView>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user