mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-07 03:07:26 +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")) {
|
||||
if (authority.equals("reddit.app.link") && path.isEmpty()) {
|
||||
String redirect = uri.getQueryParameter("$og_redirect");
|
||||
if (redirect != null) {
|
||||
handleUri(Uri.parse(redirect));
|
||||
} else {
|
||||
deepLinkError(uri);
|
||||
}
|
||||
} else if (path.isEmpty()) {
|
||||
Intent intent = new Intent(this, MainActivity.class);
|
||||
startActivity(intent);
|
||||
|
Loading…
Reference in New Issue
Block a user