Remove delete on upload for android.

This commit is contained in:
Patrick Fic
2025-11-19 11:39:32 -08:00
parent 5235519dd8
commit f8869b4f0e
10 changed files with 131 additions and 52 deletions

View File

@@ -1,11 +1,16 @@
import { useTheme } from "@/hooks";
import { useTranslation } from "react-i18next";
import { Button, Card, Text } from "react-native-paper";
export default function ErrorDisplay({ errorMessage, error, onDismiss }) {
const { t } = useTranslation();
const theme = useTheme();
return (
<Card mode="outlined" style={{ margin: 8, backgroundColor: "#ffdddd" }}>
<Card
mode="outlined"
style={{ margin: 8, backgroundColor: theme?.colors?.errorContainer }}
>
<Card.Title title={t("general.labels.error")} titleVariant="titleLarge" />
<Card.Content>
<Text>