Parcourir la source

check if need shorturl

hanjing il y a 6 ans
Parent
commit
a3d8144ec2

+ 1 - 1
app/src/main/java/com/sheep/gamegroup/util/share/ShareLinkConfig.java

@@ -162,7 +162,7 @@ public class ShareLinkConfig {
     }
 
     public void toShare(Activity activity) {
-        if (link != null && !link.startsWith("http://kfzs.com/") && link.contains("?")) {
+        if (link != null && !link.startsWith("http://kfzs.com/")) {
             SheepApp.getInstance().getNetComponent().getApiService().getShortUrl(link)
                     .subscribeOn(Schedulers.io())
                     .observeOn(AndroidSchedulers.mainThread())