Skip to content

Commit 312f973

Browse files
authored
fix: disable folders options for archived conversation [WPB-15888] (#3866)
1 parent 038c90a commit 312f973

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/kotlin/com/wire/android/ui/common/bottomsheet/conversation/HomeSheetContent.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ internal fun ConversationMainSheetContent(
146146
}
147147
}
148148
}
149-
if (moveConversationToFolder != null) {
149+
if (moveConversationToFolder != null && !conversationSheetContent.isArchived) {
150150
add {
151151
MenuBottomSheetItem(
152152
leading = {
@@ -168,7 +168,7 @@ internal fun ConversationMainSheetContent(
168168
)
169169
}
170170
}
171-
if (conversationSheetContent.folder != null) {
171+
if (conversationSheetContent.folder != null && !conversationSheetContent.isArchived) {
172172
add {
173173
MenuBottomSheetItem(
174174
leading = {

0 commit comments

Comments
 (0)