Commit ad3e076cbb10a5ddfd9bff6d0141f360c2f6670f

Authored by 袁思汶
1 parent 30904346

升级

OutSide_Share/src/main/java/com/cnlive/outside_share/activity/ShareIMActivity.java
@@ -285,12 +285,7 @@ public class ShareIMActivity extends AppCompatActivity { @@ -285,12 +285,7 @@ public class ShareIMActivity extends AppCompatActivity {
285 String linkcontext = Objects.requireNonNull(equals ? preferences.getString("extratext", "") : bundle.get(TEXT)).toString().replaceAll("\\s*", ""); 285 String linkcontext = Objects.requireNonNull(equals ? preferences.getString("extratext", "") : bundle.get(TEXT)).toString().replaceAll("\\s*", "");
286 int end; 286 int end;
287 int begin = linkcontext.indexOf("http"); 287 int begin = linkcontext.indexOf("http");
288 - if (linkcontext.contains("(")) {  
289 - end = linkcontext.indexOf("(");  
290 - } else {  
291 - end = linkcontext.length();  
292 - }  
293 - 288 + end = linkcontext.length();
294 if (begin > 0 && end > 0) { 289 if (begin > 0 && end > 0) {
295 startSelectForwardActivity(context, Objects.requireNonNull(equals ? preferences.getString("extratext", "") : bundle.get(TEXT)).toString().substring(0, begin), "", AppConfig.getShareLink(), linkcontext.substring(begin, end), TYPE_SHARE_LINK); 290 startSelectForwardActivity(context, Objects.requireNonNull(equals ? preferences.getString("extratext", "") : bundle.get(TEXT)).toString().substring(0, begin), "", AppConfig.getShareLink(), linkcontext.substring(begin, end), TYPE_SHARE_LINK);
296 killTime(); 291 killTime();
config.gradle
@@ -21,7 +21,7 @@ ext { @@ -21,7 +21,7 @@ ext {
21 //编译方式 21 //编译方式
22 debug : false, 22 debug : false,
23 //版本号 23 //版本号
24 - version: "1.0.1.6", 24 + version: "1.0.1.7",
25 //Lib库前缀 25 //Lib库前缀
26 packeg : "com.cnlive.outside_share", 26 packeg : "com.cnlive.outside_share",
27 //Lib库名称 27 //Lib库名称