// Metro module 13046 (f13047).
import { useMessageRequestPrivacyOption } from "../../../message_request/native/hooks/useMessageRequestPrivacyOption";
import { ActionSheet } from "../../../../design/components/Sheet/native/ActionSheet.native";
import { BottomSheetTitleHeader } from "../../../../design/components/Sheet/native/BottomSheetTitleHeader.native";
import { ActionSheetRow } from "../../../../design/components/Sheet/native/ActionSheetRow.native";
import { intl, t } from "../../../../intl/index.native";
import ActionSheetActionCreators from "../../../action_sheet/native/ActionSheetActionCreators";
import NotificationSettingsModalActionCreators from "../../../../actions/NotificationSettingsModalActionCreators";
import { RestrictedGuildPrivacyOption, handleLeaveServer } from "../../../guild_action_sheet/native/components/GuildActionSheetActions";
export default function NsfwGateGuildSettingsActionSheet(props) {
const guild = props.guild;
const messageRequestPrivacyOption = useMessageRequestPrivacyOption({
guild
});
return }>
{
ActionSheetActionCreators.hideActionSheet();
NotificationSettingsModalActionCreators.open(guild.id);
}} />
{messageRequestPrivacyOption}
handleLeaveServer(guild)} />
;
};