|
@@ -162,7 +162,7 @@ public class ShareLinkConfig {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public void toShare(Activity activity) {
|
|
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)
|
|
SheepApp.getInstance().getNetComponent().getApiService().getShortUrl(link)
|
|
|
.subscribeOn(Schedulers.io())
|
|
.subscribeOn(Schedulers.io())
|
|
|
.observeOn(AndroidSchedulers.mainThread())
|
|
.observeOn(AndroidSchedulers.mainThread())
|