Notification improvements (#1175)
* Stop showing notification list when going from notification's content to related content * Add is_app_readable parameter to notification_list call * Return current fragment on main activity
This commit is contained in:
parent
3f5104d60a
commit
6e32f7724f
3 changed files with 19 additions and 11 deletions
app/src/main/java/io/lbry/browser/ui
|
@ -64,7 +64,7 @@ public class BaseFragment extends Fragment {
|
|||
}
|
||||
}
|
||||
|
||||
if (params != null && params.containsKey("source") && "notification".equalsIgnoreCase(params.get("source").toString())) {
|
||||
if (params != null && params.containsKey("source") && params.get("source") != null && "notification".equalsIgnoreCase(params.get("source").toString())) {
|
||||
Context context = getContext();
|
||||
if (context instanceof MainActivity) {
|
||||
((MainActivity) context).navigateBackToNotifications();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue