[Grouple] Add UserAgent config
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user