We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 45ec0fe + 956dcac commit 14533bdCopy full SHA for 14533bd
src/org/pyload/android/client/AddLinksActivity.java
@@ -52,11 +52,14 @@ protected void onStart() {
52
}
53
String url = intent.getStringExtra("url");
54
if (url != null){
55
+ StringBuilder urls = new StringBuilder();
56
Matcher m = Patterns.WEB_URL.matcher(url);
- if (m.find()) {
57
- url = m.group();
58
- EditText view = (EditText) findViewById(R.id.links);
59
- view.setText(url);
+ while (m.find()) {
+ urls.append(m.group() + "\n");
+ }
60
+ if(urls.length()>0) {
61
+ EditText view = (EditText) findViewById(R.id.links);
62
+ view.setText(urls.toString());
63
64
65
String path = intent.getStringExtra("dlcpath");
0 commit comments