We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e15030b commit 9992745Copy full SHA for 9992745
src/main/kotlin/spp/protocol/view/LiveViewSubscription.kt
@@ -53,4 +53,16 @@ data class LiveViewSubscription(
53
json.put("liveViewConfig", liveViewConfig.toJson())
54
return json
55
}
56
+
57
+ override fun equals(other: Any?): Boolean {
58
+ if (this === other) return true
59
+ if (javaClass != other?.javaClass) return false
60
+ other as LiveViewSubscription
61
+ if (subscriptionId != other.subscriptionId) return false
62
+ return true
63
+ }
64
65
+ override fun hashCode(): Int {
66
+ return subscriptionId?.hashCode() ?: 0
67
68
0 commit comments