diff --git a/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java b/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java index e3646fdc..bd173aaa 100644 --- a/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java +++ b/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java @@ -1503,7 +1503,10 @@ public class StatusAdapter extends RecyclerView.Adapter holder.timer.scheduleAtFixedRate(new TimerTask() { @Override public void run() { - holder.binding.statusContent.invalidate(); + Handler mainHandler = new Handler(Looper.getMainLooper()); + Runnable myRunnable = () -> holder.binding.statusContent.invalidate(); + mainHandler.post(myRunnable); + } }, 100, 100); }