From 172132ec019e03ee5e9b550dba93857489fab1a4 Mon Sep 17 00:00:00 2001 From: BanditAmit Date: Mon, 29 Jul 2024 16:31:19 +0530 Subject: [PATCH] content spoofing fixes --- app/src/main/java/com/BugBazaar/ui/Deeplink.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); + }