Skip to content

Commit

Permalink
Fixed: Fix tests added in b84dc70
Browse files Browse the repository at this point in the history
  • Loading branch information
agnostic-apollo authored Oct 28, 2024
1 parent b84dc70 commit fb01127
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ public class FileReceiverActivity extends AppCompatActivity {
private static final String LOG_TAG = "FileReceiverActivity";

This comment has been minimized.

Copy link
@Essaradiy

Essaradiy Nov 15, 2024

Ui

static boolean isSharedTextAnUrl(String sharedText) {
if (sharedText == null || sharedText.isEmpty()) return false;

This comment has been minimized.

Copy link
@DHAHJK

DHAHJK Dec 2, 2024

HI


return Patterns.WEB_URL.matcher(sharedText).matches()
|| Pattern.matches("magnet:\\?xt=urn:btih:.*?", sharedText);
}
Expand Down

2 comments on commit fb01127

@Essaradiy
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi

@KevinHacker05
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi

Please sign in to comment.