mirror of
https://github.com/MGislv/NekoX.git
synced 2024-07-04 11:13:36 +00:00
Fix: open external link alert broken in 7.6.0
This commit is contained in:
parent
0f070914df
commit
cf6fd70fac
|
@ -21756,7 +21756,11 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
|||
} else if (type == 1) {
|
||||
Browser.openUrl(getParentActivity(), url, inlineReturn == 0, false);
|
||||
} else if (type == 2) {
|
||||
Browser.openUrl(getParentActivity(), url, inlineReturn == 0);
|
||||
// NekoX: Fix skipOpenLinkConfirm broken in 7.6.0, since processExternalUrl is imported in 7.6.0
|
||||
if (NekoConfig.skipOpenLinkConfirm)
|
||||
Browser.openUrl(getParentActivity(), url, inlineReturn == 0);
|
||||
else
|
||||
AlertsCreator.showOpenUrlAlert(ChatActivity.this, url, true, true, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user