[Grouple] Add UserAgent config

Koitharu 3 years ago
parent f62d024342
commit 1093584202
No known key found for this signature in database
GPG Key ID: 8E861F8CE6E7CE27

@ -283,6 +283,11 @@ internal abstract class GroupleParser(
} else res
}
override fun onCreateConfig(keys: MutableCollection<ConfigKey<*>>) {
super.onCreateConfig(keys)
keys.add(userAgentKey)
}
private fun getSortKey(sortOrder: SortOrder) =
when (sortOrder) {
SortOrder.ALPHABETICAL -> "name"

Loading…
Cancel
Save