mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-02-20 19:12:23 +00:00
fix(logs): change the mimeType and UTI to the proper types for log ex… (#1424)
This commit is contained in:
@@ -61,7 +61,10 @@ export default function Page() {
|
||||
setLoading(true);
|
||||
try {
|
||||
logsFile.write(JSON.stringify(filteredLogs));
|
||||
await Sharing.shareAsync(logsFile.uri, { mimeType: "txt", UTI: "txt" });
|
||||
await Sharing.shareAsync(logsFile.uri, {
|
||||
mimeType: "text/plain",
|
||||
UTI: "public.plain-text",
|
||||
});
|
||||
} catch (e: any) {
|
||||
writeErrorLog("Something went wrong attempting to export", e);
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user