Small fix

This commit is contained in:
M66B 2019-06-01 08:03:12 +02:00
parent a0301e65cc
commit 5ba764f010
1 changed files with 3 additions and 1 deletions

View File

@ -2069,7 +2069,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
db.message().liveHidden(account, thread).observe(getViewLifecycleOwner(), new Observer<List<Long>>() {
@Override
public void onChanged(List<Long> ids) {
if (ids != null)
if (ids != null) {
for (long id : ids) {
Log.i("Hidden id=" + id);
for (String key : values.keySet())
@ -2077,6 +2077,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
bodies.remove(id);
attachments.remove(id);
}
updateExpanded();
}
}
});
break;