Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix some more warnings for web (#8316)

* export correct stub for web

* use default import for package.json

authored by

Samuel Newman and committed by
GitHub
1c2a7b0b a6455b3d

+5 -5
+2 -2
src/components/StarterPack/ShareDialog.tsx
··· 1 1 import {View} from 'react-native' 2 2 import {Image} from 'expo-image' 3 3 import {requestMediaLibraryPermissionsAsync} from 'expo-image-picker' 4 - import {AppBskyGraphDefs} from '@atproto/api' 4 + import {type AppBskyGraphDefs} from '@atproto/api' 5 5 import {msg, Trans} from '@lingui/macro' 6 6 import {useLingui} from '@lingui/react' 7 7 ··· 15 15 import * as Toast from '#/view/com/util/Toast' 16 16 import {atoms as a, useTheme} from '#/alf' 17 17 import {Button, ButtonText} from '#/components/Button' 18 - import {DialogControlProps} from '#/components/Dialog' 18 + import {type DialogControlProps} from '#/components/Dialog' 19 19 import * as Dialog from '#/components/Dialog' 20 20 import {Loader} from '#/components/Loader' 21 21 import {Text} from '#/components/Typography'
+1 -1
src/lib/media/manip.web.ts
··· 44 44 throw new Error('TODO') 45 45 } 46 46 47 - export async function saveImageToAlbum(_opts: {uri: string; album: string}) { 47 + export async function saveImageToMediaLibrary(_opts: {uri: string}) { 48 48 // TODO 49 49 throw new Error('TODO') 50 50 }
+2 -2
src/logger/sentry/setup/index.ts
··· 5 5 6 6 import {init} from '@sentry/react-native' 7 7 8 - import {version} from '#/../package.json' 8 + import pkgJson from '#/../package.json' 9 9 10 10 /** 11 11 * Examples: 12 12 * - `dev` 13 13 * - `1.99.0` 14 14 */ 15 - const release = process.env.SENTRY_RELEASE || version 15 + const release = process.env.SENTRY_RELEASE || pkgJson.version 16 16 17 17 /** 18 18 * The latest deployed commit hash