Skip to content

Commit c81e67c

Browse files
committed
SES-4464 hide reply button in message details if there are errors
1 parent 85058e5 commit c81e67c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/org/thoughtcrime/securesms/conversation/v2/MessageDetailsViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ data class MessageDetailsState(
384384
val proBadgeClickable: Boolean = false,
385385
) {
386386
val fromTitle = GetString(R.string.from)
387-
val canReply: Boolean get() = !readOnly && record?.isOpenGroupInvitation != true
387+
val canReply: Boolean get() = !readOnly && record?.isOpenGroupInvitation != true && error == null
388388
val canDelete: Boolean get() = !readOnly
389389
}
390390

0 commit comments

Comments
 (0)