diff --git a/app/src/main/java/com/BugBazaar/ui/Deeplink.java b/app/src/main/java/com/BugBazaar/ui/Deeplink.java index 590ef7e..8113b4d 100644 --- a/app/src/main/java/com/BugBazaar/ui/Deeplink.java +++ b/app/src/main/java/com/BugBazaar/ui/Deeplink.java @@ -52,11 +52,15 @@ public void onCreate(Bundle savedInstanceState) { if (deeplink != null && "/offers".equals(deeplink.getPath())) { String message = deeplink.getQueryParameter("textMsg"); String offer = deeplink.getQueryParameter("offer"); - if (message != null && offer!=null) { + if (message != null && offer==null) { messageTextView.setText(message); + + } + else if(message!=null & offer!=null){ Intent intentA = new Intent(this, NavigationDrawer_Dashboard.class); intentA.setData(Uri.parse(offer)); startActivity(intentA); + }