Skip to content

Commit

Permalink
Merge pull request #70 from payatu/amitbandit
Browse files Browse the repository at this point in the history
content spoofing fixes
  • Loading branch information
banditAmit authored Jul 29, 2024
2 parents cd07ea3 + 172132e commit 19fd99f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/src/main/java/com/BugBazaar/ui/Deeplink.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);

}


Expand Down

0 comments on commit 19fd99f

Please sign in to comment.