Files
discord-decomp/lib/native/Linking.tsx
T
2026-11-01 12:12:55 +02:00

20 lines
504 B
TypeScript

// Metro module 3886 (f3887).
import { Linking } from "react-native";
import * as _handleURL from "../../modules/links/native/handleURL";
const r15 = {
openURL: function openURL(a0, a1, allowExternal = true) {
(0, _handleURL.default)(a0, a1, {
allowExternal
});
},
openURLExternally: (a0, a1) => {
(0, _handleURL.default)(a0, a1, {
forceExternalBrowser: true
});
},
performURLNavigation: (a0) => {
Linking.openURL(a0).catch(() => {});
}
};
export default r15;