Skip to content

Commit

Permalink
perf: 订阅可空字段移除非空默认值
Browse files Browse the repository at this point in the history
  • Loading branch information
lisonge committed Nov 5, 2023
1 parent 67411fe commit f90ff14
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/src/main/java/li/songe/gkd/data/SubscriptionRaw.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit f90ff14

Please sign in to comment.