mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-07 21:04:34 -05:00
add comment about which types should be supported
This commit is contained in:
@@ -59,6 +59,13 @@ object Source {
|
|||||||
|
|
||||||
private val context by DI.global.instance<CustomContext>()
|
private val context by DI.global.instance<CustomContext>()
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Clients should support these types for extensions to work properly (in order of importance)
|
||||||
|
* - EditTextPreference
|
||||||
|
* - SwitchPreferenceCompat
|
||||||
|
* - ListPreference
|
||||||
|
* - CheckBoxPreference
|
||||||
|
*/
|
||||||
data class PreferenceObject(
|
data class PreferenceObject(
|
||||||
val type: String,
|
val type: String,
|
||||||
val props: Any
|
val props: Any
|
||||||
|
|||||||
Reference in New Issue
Block a user