Commit 2c321134 authored by Thomas's avatar Thomas
Browse files

Some fixes when resuming

parent 792b0ca7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -345,6 +345,9 @@ public class FragmentMastodonNotification extends Fragment implements Notificati
                route(null, false);
            }
        }
        if (notificationList != null && notificationList.size() > 0) {
            route(FragmentMastodonTimeline.DIRECTION.FETCH_NEW, true);
        }
    }

    /**
+1 −3
Original line number Diff line number Diff line
@@ -212,9 +212,7 @@ public class FragmentNotificationContainer extends Fragment {
                }
            });
            dialogBuilder.setOnDismissListener(dialogInterface -> doAction(changes.get(), excludedCategoriesList));
            dialogBuilder.setPositiveButton(R.string.close, (dialog, id) -> {
                dialog.dismiss();
            });
            dialogBuilder.setPositiveButton(R.string.close, (dialog, id) -> dialog.dismiss());
            AlertDialog alertDialog = dialogBuilder.create();
            alertDialog.show();
        });