Some fixes when resuming

maths
Thomas 2 years ago
parent 792b0ca77e
commit 2c32113476

@ -345,6 +345,9 @@ public class FragmentMastodonNotification extends Fragment implements Notificati
route(null, false); route(null, false);
} }
} }
if (notificationList != null && notificationList.size() > 0) {
route(FragmentMastodonTimeline.DIRECTION.FETCH_NEW, true);
}
} }
/** /**

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

Loading…
Cancel
Save