diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-05-29 12:00:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-29 12:00:15 +0300 |
commit | 33de856c32711b2b5a83d5b27583eec0cc6e1248 (patch) | |
tree | 87ecae3c9c040dea8de4d6069430a18aa92c4dfc /src/lib | |
parent | 613884a3d388b814244fc620c7a06c4742851585 (diff) | |
download | voidsky-33de856c32711b2b5a83d5b27583eec0cc6e1248.tar.zst |
match web version exports (#4257)
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/app-info.web.ts | 2 | ||||
-rw-r--r-- | src/lib/media/manip.web.ts | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/app-info.web.ts b/src/lib/app-info.web.ts index fe2bc5fff..7227e2863 100644 --- a/src/lib/app-info.web.ts +++ b/src/lib/app-info.web.ts @@ -1,6 +1,8 @@ import {version} from '../../package.json' +export const BUILD_ENV = process.env.EXPO_PUBLIC_ENV export const IS_DEV = process.env.EXPO_PUBLIC_ENV === 'development' +export const IS_TESTFLIGHT = false // This is the commit hash that the current bundle was made from. The user can see the commit hash in the app's settings // along with the other version info. Useful for debugging/reporting. diff --git a/src/lib/media/manip.web.ts b/src/lib/media/manip.web.ts index 25315ebbd..4761f2fe0 100644 --- a/src/lib/media/manip.web.ts +++ b/src/lib/media/manip.web.ts @@ -159,3 +159,7 @@ async function downloadUrl(href: string, filename: string) { a.download = filename a.click() } + +export async function safeDeleteAsync() { + // no-op +} |