Skip to content

Commit

Permalink
Update Utils.java
Browse files Browse the repository at this point in the history
  • Loading branch information
earthonion authored May 9, 2024
1 parent 82b9d3f commit 2d6373a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public static void restartApp(@NonNull Context context) {
System.exit(0);
}

public static void openUri(String uri){
public static void openUri(Context context, String uri){

Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(uri));
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
Expand Down

0 comments on commit 2d6373a

Please sign in to comment.