no error when opening url that looks like fedi url
This commit is contained in:
@@ -69,7 +69,7 @@ public class ExternalShareActivity extends FragmentStackActivity{
|
|||||||
.ifPresent(req ->
|
.ifPresent(req ->
|
||||||
req.wrapProgress(this, R.string.loading, true, d -> {
|
req.wrapProgress(this, R.string.loading, true, d -> {
|
||||||
UiUtils.transformDialogForLookup(this, accountId, isFediUrl ? text.get() : null, d);
|
UiUtils.transformDialogForLookup(this, accountId, isFediUrl ? text.get() : null, d);
|
||||||
d.setOnDismissListener((ev) -> finish());
|
d.setOnDismissListener((x) -> finish());
|
||||||
}));
|
}));
|
||||||
} else {
|
} else {
|
||||||
openComposeFragment(accountId);
|
openComposeFragment(accountId);
|
||||||
|
|||||||
@@ -1232,7 +1232,7 @@ public class UiUtils {
|
|||||||
go.accept(ProfileFragment.class, args);
|
go.accept(ProfileFragment.class, args);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
go.accept(null, bundleError(context.getString(R.string.sk_resource_not_found)));
|
go.accept(null, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user