mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Rename eventSink to handleEvent
This commit is contained in:
+2
-2
@@ -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,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user