mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
[android] prevent empty state message from showing up briefly when clearing list
This commit is contained in:
@@ -888,6 +888,7 @@ public class ConversationActivity extends BriarActivity
|
||||
boolean allDeleted) {
|
||||
runOnUiThreadUnlessDestroyed(() -> {
|
||||
adapter.clear();
|
||||
list.showProgressBar(); // otherwise clearing shows empty state
|
||||
loadMessages();
|
||||
if (!allDeleted) showNotAllDeletedDialog();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user