SES-2464 - changed the behaviour to finish the convo activity but instead refresh the sarch on resume

pull/1697/head
ThomasSession 6 months ago
parent 4d34178ab8
commit e98432d834

@ -851,8 +851,8 @@ class ConversationActivityV2 : PassphraseRequiredActionBarActivity(), InputBarDe
binding.messageRequestBar.visibility = View.GONE
}
if (!uiState.conversationExists && !isFinishing) {
// Conversation should be deleted now, go to homepage with a cleared stack
baseContext.startHomeActivity(isFromOnboarding = false, isNewAccount = false)
// Conversation should be deleted now
finish()
}
// show or hide the text input

@ -372,6 +372,11 @@ class HomeActivity : PassphraseRequiredActionBarActivity(),
binding.seedReminderView.isVisible = false
}
// refresh search on resume, in case we a conversation was deleted
if (binding.globalSearchRecycler.isVisible){
globalSearchViewModel.refresh()
}
updateLegacyConfigView()
// Sync config changes if there are any

Loading…
Cancel
Save