mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-28 11:58:23 +01:00
Minor bugs fixed.
This commit is contained in:
parent
965d8ab8ae
commit
0dc759e9c6
@ -166,7 +166,11 @@ public class LinkResolverActivity extends AppCompatActivity {
|
|||||||
} else if (authority.contains("reddit.com") || authority.contains("redd.it") || authority.contains("reddit.app")) {
|
} else if (authority.contains("reddit.com") || authority.contains("redd.it") || authority.contains("reddit.app")) {
|
||||||
if (authority.equals("reddit.app.link") && path.isEmpty()) {
|
if (authority.equals("reddit.app.link") && path.isEmpty()) {
|
||||||
String redirect = uri.getQueryParameter("$og_redirect");
|
String redirect = uri.getQueryParameter("$og_redirect");
|
||||||
handleUri(Uri.parse(redirect));
|
if (redirect != null) {
|
||||||
|
handleUri(Uri.parse(redirect));
|
||||||
|
} else {
|
||||||
|
deepLinkError(uri);
|
||||||
|
}
|
||||||
} else if (path.isEmpty()) {
|
} else if (path.isEmpty()) {
|
||||||
Intent intent = new Intent(this, MainActivity.class);
|
Intent intent = new Intent(this, MainActivity.class);
|
||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
|
Loading…
Reference in New Issue
Block a user