mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
Fix ExpSettingsViewModel
This commit is contained in:
parent
d6dd7a82f1
commit
60f396a158
@ -58,10 +58,7 @@ class ExpirationSettingsViewModel(
|
||||
init {
|
||||
// SETUP
|
||||
viewModelScope.launch {
|
||||
expirationConfig = storage.getExpirationConfiguration(threadId)?.let {
|
||||
if (ExpirationConfiguration.isNewConfigEnabled) it
|
||||
else if (it)
|
||||
}
|
||||
expirationConfig = storage.getExpirationConfiguration(threadId)
|
||||
val expirationType = expirationConfig?.expiryMode
|
||||
val recipient = threadDb.getRecipientForThreadId(threadId)
|
||||
_recipient.value = recipient
|
||||
|
Loading…
x
Reference in New Issue
Block a user