Small improvement

This commit is contained in:
M66B 2022-03-24 18:33:10 +01:00
parent 41a43fd029
commit 271986bab5
1 changed files with 2 additions and 1 deletions

View File

@ -1950,7 +1950,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
@Override
public void run() {
try {
adapter.notifyItemChanged(pos);
if (adapter != null)
adapter.notifyItemChanged(pos);
} catch (Throwable ex) {
Log.e(ex);
/*