Some fixes when resuming

This commit is contained in:
Thomas 2022-12-12 17:30:23 +01:00
parent 792b0ca77e
commit 2c32113476
2 changed files with 4 additions and 3 deletions

View file

@ -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);
}
}
/**

View file

@ -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();
});