Let AsyncAction.Confirming be an interface, with a AsyncAction.ConfirmingNoParams data object.
This will allow inheritance of `AsyncAction.Confirming` with parameter(s).
This commit is contained in:
parent
792fdb346d
commit
fb52657b12
46 changed files with 86 additions and 84 deletions
|
|
@ -59,7 +59,7 @@ class AcceptDeclineInvitePresenter @Inject constructor(
|
|||
|
||||
is AcceptDeclineInviteEvents.DeclineInvite -> {
|
||||
currentInvite = Optional.of(event.invite)
|
||||
declinedAction.value = AsyncAction.Confirming
|
||||
declinedAction.value = AsyncAction.ConfirmingNoParams
|
||||
}
|
||||
|
||||
is InternalAcceptDeclineInviteEvents.ConfirmDeclineInvite -> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue