mirror of
https://github.com/gkd-kit/gkd.git
synced 2024-11-16 19:57:15 +08:00
perf: 订阅可空字段移除非空默认值
This commit is contained in:
parent
67411fe41e
commit
f90ff14621
|
@ -199,12 +199,10 @@ data class SubscriptionRaw(
|
|||
matches = (getStringIArray(
|
||||
rulesJson, "matches"
|
||||
) ?: emptyList()),
|
||||
excludeMatches = (getStringIArray(
|
||||
rulesJson, "excludeMatches"
|
||||
) ?: emptyList()),
|
||||
excludeMatches = getStringIArray(rulesJson, "excludeMatches"),
|
||||
key = getInt(rulesJson, "key"),
|
||||
name = getString(rulesJson, "name"),
|
||||
preKeys = getIntIArray(rulesJson, "preKeys") ?: emptyList(),
|
||||
preKeys = getIntIArray(rulesJson, "preKeys"),
|
||||
action = getString(rulesJson, "action"),
|
||||
matchLauncher = getBoolean(rulesJson, "matchLauncher"),
|
||||
quickFind = getBoolean(rulesJson, "quickFind"),
|
||||
|
|
Loading…
Reference in New Issue
Block a user