mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:05:28 +00:00
migrate object to data object (#1135)
This commit is contained in:
+1
-1
@@ -17,5 +17,5 @@
|
||||
package io.element.android.libraries.push.api.gateway
|
||||
|
||||
sealed class PushGatewayFailure : Throwable(cause = null) {
|
||||
object PusherRejected : PushGatewayFailure()
|
||||
data object PusherRejected : PushGatewayFailure()
|
||||
}
|
||||
|
||||
+1
-1
@@ -166,6 +166,6 @@ sealed interface OneShotNotification {
|
||||
}
|
||||
|
||||
sealed interface SummaryNotification {
|
||||
object Removed : SummaryNotification
|
||||
data object Removed : SummaryNotification
|
||||
data class Update(val notification: Notification) : SummaryNotification
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user