mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 16:50:04 +02:00
Fix #385 - crash with scheduled messages
This commit is contained in:
parent
1e74ee172e
commit
365179def8
1 changed files with 1 additions and 1 deletions
|
@ -84,8 +84,8 @@ public class FragmentScheduled extends Fragment implements StatusScheduledAdapte
|
|||
try {
|
||||
List<StatusDraft> scheduledDrafts = new StatusDraft(requireActivity()).geStatusDraftScheduledList(currentAccount);
|
||||
Handler mainHandler = new Handler(Looper.getMainLooper());
|
||||
binding.loader.setVisibility(View.GONE);
|
||||
Runnable myRunnable = () -> {
|
||||
binding.loader.setVisibility(View.GONE);
|
||||
if (scheduledDrafts != null && scheduledDrafts.size() > 0) {
|
||||
StatusScheduledAdapter statusScheduledAdapter = new StatusScheduledAdapter(null, scheduledDrafts, null);
|
||||
statusScheduledAdapter.scheduledActions = FragmentScheduled.this;
|
||||
|
|
Loading…
Reference in a new issue