Files
discord-decomp/components_native/calls/stream/StreamFullAlert.tsx
T
2026-11-01 12:12:55 +02:00

29 lines
990 B
TypeScript

// Metro module 16695 (f16696).
import { Image as Image2 } from "react-native";
import { getErrorInfo, AVError } from "../../../modules/errors/av_errors/AVError";
import { intl, t } from "../../../intl/index.native";
import Alert from "../../common/Alert";
import { Text } from "../../../design/components/Text/native/Text";
import Module16696 from "../../../_bundle/Module16696";
let c12029_6 = {
image: {
alignSelf: "center",
marginTop: 32
},
body: {
marginTop: 16
}
};
export default function StreamFullAlert(props) {
const r13 = intl.formatToPlainString(t.ejOT95, {
errorCode: getErrorInfo(AVError.STREAM_FULL)?.errorCode
});
return <Alert {...props} title={intl.string(t.GzjdO5)}>
<Text variant="text-md/normal" style={c12029_6.body}>
{intl.string(t.VVZDBL)}
</Text>
<Text variant="text-md/normal" selectable color="text-muted" style={c12029_6.body}>{r13}</Text>
<Image2 source={Module16696} style={c12029_6.image} />
</Alert>;
};