diff --git a/app/src/main/java/li/songe/gkd/data/SubscriptionRaw.kt b/app/src/main/java/li/songe/gkd/data/SubscriptionRaw.kt index a2a9a50c0..05701f9f4 100644 --- a/app/src/main/java/li/songe/gkd/data/SubscriptionRaw.kt +++ b/app/src/main/java/li/songe/gkd/data/SubscriptionRaw.kt @@ -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"),