diff --git a/server/src/main/kotlin/suwayomi/tachidesk/graphql/types/SourceType.kt b/server/src/main/kotlin/suwayomi/tachidesk/graphql/types/SourceType.kt index a2d03cb1a..7be34d56e 100644 --- a/server/src/main/kotlin/suwayomi/tachidesk/graphql/types/SourceType.kt +++ b/server/src/main/kotlin/suwayomi/tachidesk/graphql/types/SourceType.kt @@ -342,7 +342,7 @@ fun updateFilterList( sealed interface Preference data class SwitchPreference( - val key: String, + val key: String?, val title: String?, val summary: String?, val visible: Boolean, @@ -352,7 +352,7 @@ data class SwitchPreference( ) : Preference data class CheckBoxPreference( - val key: String, + val key: String?, val title: String?, val summary: String?, val visible: Boolean, @@ -362,7 +362,7 @@ data class CheckBoxPreference( ) : Preference data class EditTextPreference( - val key: String, + val key: String?, val title: String?, val summary: String?, val visible: Boolean, @@ -375,7 +375,7 @@ data class EditTextPreference( ) : Preference data class ListPreference( - val key: String, + val key: String?, val title: String?, val summary: String?, val visible: Boolean, @@ -387,7 +387,7 @@ data class ListPreference( ) : Preference data class MultiSelectListPreference( - val key: String, + val key: String?, val title: String?, val summary: String?, val visible: Boolean, diff --git a/server/src/main/kotlin/suwayomi/tachidesk/manga/impl/Source.kt b/server/src/main/kotlin/suwayomi/tachidesk/manga/impl/Source.kt index 4a35b9249..3fcf1b0bf 100644 --- a/server/src/main/kotlin/suwayomi/tachidesk/manga/impl/Source.kt +++ b/server/src/main/kotlin/suwayomi/tachidesk/manga/impl/Source.kt @@ -134,7 +134,6 @@ object Source { position: Int, value: String, getValue: (Preference) -> Any = { pref -> - println(jsonMapper::class.java.name) when (pref.defaultValueType) { "String" -> value "Boolean" -> value.toBoolean()