From fd1cf5f1edae674e93d27e0f00c8e56602ed632f Mon Sep 17 00:00:00 2001 From: Diogo Date: Fri, 30 Aug 2024 22:05:30 +0100 Subject: [PATCH] hide non active devices from pills --- .../kotlin/chat/simplex/common/views/chatlist/UserPicker.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/UserPicker.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/UserPicker.kt index 779078b030..df58b17013 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/UserPicker.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/UserPicker.kt @@ -619,7 +619,7 @@ private fun DevicePickerRow( ) { onLocalDeviceClick() } - remoteHosts.forEach { h -> + remoteHosts.filter { h -> h.activeHost }.forEach { h -> val connecting = rememberSaveable { mutableStateOf(false) } DevicePill(