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,4 +1,5 @@
import React from "react";
import { Platform } from "react-native";
import { Switch } from "react-native-paper";
import { connect } from "react-redux";
import { createStructuredSelector } from "reselect";
@@ -22,7 +23,8 @@ export function UploadDeleteSwitch({
onValueChange={() => {
toggleDeleteAfterUpload();
}}
value={deleteAfterUpload}
value={Platform.OS === "android" ? false : deleteAfterUpload}
disabled={Platform.OS === "android"}
/>
);
}