mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Invite again user on direct chats (#1087)
* Add leaveRoom section for DMs * Add invite alert in RoomScreenViewModel * Show alert on composer focus * Add localisations * Refine invite alert logics * Amend tests * Update project * Fix local variable name * Refactor show invite alert logic
This commit is contained in:
@@ -37,9 +37,9 @@ struct RoomDetailsScreen: View {
|
||||
|
||||
if let recipient = context.viewState.dmRecipient {
|
||||
ignoreUserSection(user: recipient)
|
||||
} else {
|
||||
leaveRoomSection
|
||||
}
|
||||
|
||||
leaveRoomSection
|
||||
}
|
||||
.elementFormStyle()
|
||||
.alert(item: $context.alertInfo)
|
||||
|
||||
Reference in New Issue
Block a user