From 6b85c76386380911705cde9859b7952571dfcf5d Mon Sep 17 00:00:00 2001
From: Paul Lorenc <pj@paul-lorenc.com>
Date: Mon, 4 Oct 2021 17:16:45 -0400
Subject: [PATCH] removed old comment, added dismiss on scrim click

---
 .../briarproject/briar/desktop/paul/views/PrivateMessageView.kt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/kotlin/org/briarproject/briar/desktop/paul/views/PrivateMessageView.kt b/src/main/kotlin/org/briarproject/briar/desktop/paul/views/PrivateMessageView.kt
index 78918c61fe..34d7b5c708 100644
--- a/src/main/kotlin/org/briarproject/briar/desktop/paul/views/PrivateMessageView.kt
+++ b/src/main/kotlin/org/briarproject/briar/desktop/paul/views/PrivateMessageView.kt
@@ -694,11 +694,11 @@ fun DrawMessageRow(
         )
         if (infoDrawer) {
             // TODO Find non-hacky way of setting scrim on entire app
-            // We're able to make this work because the ContactList and BriarSidebar have constant widths which add to 302.dp
             Box(
                 Modifier.offset(-(CONTACTLIST_WIDTH + SIDEBAR_WIDTH))
                     .requiredSize(maxWidth + CONTACTLIST_WIDTH + SIDEBAR_WIDTH, maxHeight)
                     .background(Color(0, 0, 0, 100))
+                    .clickable { setInfoDrawer(false) }
             )
             Column(
                 modifier = Modifier.fillMaxHeight().width(CONTACTLIST_WIDTH)
-- 
GitLab