forked from mirrors/Fedilab
Some fixes when resuming
This commit is contained in:
parent
792b0ca77e
commit
2c32113476
2 changed files with 4 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue