migrate object to data object (#1135)
This commit is contained in:
parent
4218a836d5
commit
7083abcf09
98 changed files with 314 additions and 357 deletions
|
|
@ -31,9 +31,9 @@ class RegisterUnifiedPushUseCase @Inject constructor(
|
|||
) {
|
||||
|
||||
sealed interface RegisterUnifiedPushResult {
|
||||
object Success : RegisterUnifiedPushResult
|
||||
object NeedToAskUserForDistributor : RegisterUnifiedPushResult
|
||||
object Error : RegisterUnifiedPushResult
|
||||
data object Success : RegisterUnifiedPushResult
|
||||
data object NeedToAskUserForDistributor : RegisterUnifiedPushResult
|
||||
data object Error : RegisterUnifiedPushResult
|
||||
}
|
||||
|
||||
suspend fun execute(matrixClient: MatrixClient, distributor: Distributor, clientSecret: String): RegisterUnifiedPushResult {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue