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

15 lines
614 B
TypeScript

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