mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Click on userId / room alias to copy value to clipboard. (#4549)
This commit is contained in:
+4
-2
@@ -120,8 +120,9 @@ class UserProfilePresenter @AssistedInject constructor(
|
||||
UserProfileEvents.ClearStartDMState -> {
|
||||
startDmActionState.value = AsyncAction.Uninitialized
|
||||
}
|
||||
// Do nothing for withdrawing verification as it's handled by the RoomMemberDetailsPresenter if needed
|
||||
UserProfileEvents.WithdrawVerification -> Unit
|
||||
// Do nothing for other event as they are handled by the RoomMemberDetailsPresenter if needed
|
||||
UserProfileEvents.WithdrawVerification,
|
||||
is UserProfileEvents.CopyToClipboard -> Unit
|
||||
}
|
||||
}
|
||||
|
||||
@@ -136,6 +137,7 @@ class UserProfilePresenter @AssistedInject constructor(
|
||||
isCurrentUser = isCurrentUser,
|
||||
dmRoomId = dmRoomId,
|
||||
canCall = canCall,
|
||||
snackbarMessage = null,
|
||||
eventSink = ::handleEvents
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user