Rename eventSink to handleEvent
This commit is contained in:
parent
19d0eb7557
commit
ec8262672d
1 changed files with 2 additions and 2 deletions
|
|
@ -111,7 +111,7 @@ class RoomMemberDetailsPresenter(
|
|||
}
|
||||
}
|
||||
|
||||
fun eventSink(event: UserProfileEvents) {
|
||||
fun handleEvent(event: UserProfileEvents) {
|
||||
when (event) {
|
||||
UserProfileEvents.WithdrawVerification -> coroutineScope.launch {
|
||||
encryptionService.withdrawVerification(roomMemberId)
|
||||
|
|
@ -129,7 +129,7 @@ class RoomMemberDetailsPresenter(
|
|||
avatarUrl = roomUserAvatar ?: userProfileState.avatarUrl,
|
||||
verificationState = verificationState,
|
||||
snackbarMessage = snackbarMessage,
|
||||
eventSink = ::eventSink
|
||||
eventSink = ::handleEvent,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue