15 lines
614 B
TypeScript
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} />)
|
|
});
|
|
};
|