Files
discord-decomp/modules/quarantine/openQuarantineModeInfoModal.native.tsx
T
2026-11-01 12:12:55 +02:00

15 lines
579 B
TypeScript

// Metro module 5107 (f5108).
import { Keyboard } from "react-native";
import { getBestActiveInput } from "../../utils/native/ChatInputUtils";
import AlertActionCreators from "../../actions/native/AlertActionCreators";
export default function openQuarantineModeInfoModal() {
Keyboard.dismiss();
const bestActiveInput = getBestActiveInput();
if (bestActiveInput != null) {
bestActiveInput.blur();
}
AlertActionCreators.openLazy({
importer: () => import("./native/QuarantineModeInfoAlert").then(({ default: Component }) => (a0) => <Component {...a0} />)
});
};