fix opening browser twice

closes sk22#559
This commit is contained in:
sk
2023-06-09 12:47:32 +02:00
parent 97547f334f
commit 6f3fd4d454
2 changed files with 3 additions and 4 deletions

View File

@@ -65,7 +65,7 @@ public class ExternalShareActivity extends FragmentStackActivity{
.<MastodonAPIRequest<?>>map(handle ->
UiUtils.lookupAccountHandle(this, accountId, handle, callback))
.or(() ->
UiUtils.lookupURL(this, accountId, text.get(), false, callback))
UiUtils.lookupURL(this, accountId, text.get(), callback))
.ifPresent(req ->
req.wrapProgress(this, R.string.loading, true, d -> {
UiUtils.transformDialogForLookup(this, accountId, isFediUrl ? text.get() : null, d);