File tree 2 files changed +20
-0
lines changed
java/com/topjohnwu/magisk/ui/home
2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,10 @@ private interface CanyieImpl : Dev {
29
29
override val name get() = " canyie"
30
30
}
31
31
32
+ private interface PiXImpl : Dev {
33
+ override val name get() = " pixincreate"
34
+ }
35
+
32
36
sealed class DeveloperItem : Dev {
33
37
34
38
abstract val items: List <IconLink >
@@ -74,6 +78,14 @@ sealed class DeveloperItem : Dev {
74
78
object : IconLink .Github .User (), CanyieImpl {}
75
79
)
76
80
}
81
+
82
+ object PiX : DeveloperItem(), PiXImpl {
83
+ override val items =
84
+ listOf<IconLink >(
85
+ object : IconLink .Twitter (), PiXImpl {},
86
+ object : IconLink .Github .User (), PiXImpl {}
87
+ )
88
+ }
77
89
}
78
90
79
91
sealed class IconLink : RvItem () {
Original file line number Diff line number Diff line change 250
250
android : layout_height =" wrap_content"
251
251
android : layout_marginTop =" @dimen/l_50" />
252
252
253
+ <include
254
+ item =" @{DeveloperItem.PiX.INSTANCE}"
255
+ layout =" @layout/item_developer"
256
+ viewModel =" @{viewModel}"
257
+ android : layout_width =" wrap_content"
258
+ android : layout_height =" wrap_content"
259
+ android : layout_marginTop =" @dimen/l_50" />
260
+
253
261
</LinearLayout >
254
262
255
263
</com .google.android.material.card.MaterialCardView>
You can’t perform that action at this time.
0 commit comments