From 8b320bb0ced27ba9cd18b63893ceb05de993724f Mon Sep 17 00:00:00 2001 From: andrew Date: Fri, 1 Sep 2023 10:35:21 +0930 Subject: [PATCH] Fix onSetClick --- .../conversation/expiration/ExpirationSettingsViewModel.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversation/expiration/ExpirationSettingsViewModel.kt b/app/src/main/java/org/thoughtcrime/securesms/conversation/expiration/ExpirationSettingsViewModel.kt index f4424f62ee..8a32b0f669 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversation/expiration/ExpirationSettingsViewModel.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/conversation/expiration/ExpirationSettingsViewModel.kt @@ -110,6 +110,7 @@ class ExpirationSettingsViewModel( _state.update { state -> state.copy( + address = recipient?.address, isGroup = groupInfo != null, isSelfAdmin = groupInfo == null || groupInfo.admins.any{ it.serialize() == textSecurePreferences.getLocalNumber() }, expiryMode = expiryMode