Enable detekt rules DataClassShouldBeImmutable and fix existing issues.
This commit is contained in:
parent
d433c3cbaa
commit
8458a9e937
6 changed files with 20 additions and 21 deletions
|
|
@ -36,7 +36,7 @@ import io.element.android.libraries.pushproviders.api.PushData
|
|||
data class PushDataFirebase(
|
||||
val eventId: String?,
|
||||
val roomId: String?,
|
||||
var unread: Int?,
|
||||
val unread: Int?,
|
||||
val clientSecret: String?
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ data class PushDataUnifiedPush(
|
|||
data class PushDataUnifiedPushNotification(
|
||||
@SerialName("event_id") val eventId: String? = null,
|
||||
@SerialName("room_id") val roomId: String? = null,
|
||||
@SerialName("counts") var counts: PushDataUnifiedPushCounts? = null,
|
||||
@SerialName("counts") val counts: PushDataUnifiedPushCounts? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue