Rename eventSink to handleEvent
This commit is contained in:
parent
e0f0dbec96
commit
34a986d8f2
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) {
|
when (event) {
|
||||||
UserProfileEvents.WithdrawVerification -> coroutineScope.launch {
|
UserProfileEvents.WithdrawVerification -> coroutineScope.launch {
|
||||||
encryptionService.withdrawVerification(roomMemberId)
|
encryptionService.withdrawVerification(roomMemberId)
|
||||||
|
|
@ -129,7 +129,7 @@ class RoomMemberDetailsPresenter(
|
||||||
avatarUrl = roomUserAvatar ?: userProfileState.avatarUrl,
|
avatarUrl = roomUserAvatar ?: userProfileState.avatarUrl,
|
||||||
verificationState = verificationState,
|
verificationState = verificationState,
|
||||||
snackbarMessage = snackbarMessage,
|
snackbarMessage = snackbarMessage,
|
||||||
eventSink = ::eventSink
|
eventSink = ::handleEvent,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue