Files
discord-decomp/_bundle/getDevMenu.js
T
2026-11-01 12:12:55 +02:00

62 lines
1.6 KiB
JavaScript

// Metro module 13495 (f13496).
import { Platform } from "react-native";
function $mk91385() {
return () => {
console.warn(`DevMenu.reload() not available in this environment`);
};
}
function $mk91386() {
return () => {
console.warn(`DevMenu.show() not available in this environment`);
};
}
function $mk91387() {
return () => ({});
}
function $mk91388() {
return () => {
console.warn(`DevMenu.debugRemotely() not available in this environment`);
};
}
function $mk91389() {
return () => {
console.warn(`DevMenu.setHotLoadingEnabled() not available in this environment`);
};
}
function $mk91390() {
return () => {
console.warn(`DevMenu.setProfilingEnabled() not available in this environment`);
};
}
const getDevMenu = () => {};
export default () => () => ({
onCommand: (a0) => {
if (!(a0.type !== "devtools.open" && a0.type !== "devtools.reload")) {
if (a0.type === "devtools.open") {
const r12 = {
reload: $mk91385(),
show: $mk91386(),
getConstants: $mk91387(),
debugRemotely: $mk91388(),
setHotLoadingEnabled: $mk91389(),
setProfilingEnabled: $mk91390()
};
Platform.OS;
r12.show();
}
if (a0.type === "devtools.reload") {
const r30 = {
reload: $mk91385(),
show: $mk91386(),
getConstants: $mk91387(),
debugRemotely: $mk91388(),
setHotLoadingEnabled: $mk91389(),
setProfilingEnabled: $mk91390()
};
Platform.OS;
r30.reload();
}
}
}
});