Expo 57 (#11334)
Co-authored-by: Tomek Zawadzki <tomekzawadzki98@gmail.com> Co-authored-by: vineyardbovines <spencerfpope@gmail.com>
This commit is contained in:
@@ -567,7 +567,7 @@ export const ComposePost = ({
|
||||
FileSystem.Paths.cache,
|
||||
tempFileName,
|
||||
)
|
||||
sourceFile.copy(tempFile)
|
||||
await sourceFile.copy(tempFile)
|
||||
logger.debug('restoreVideo: copied to temp file', {
|
||||
source: videoInfo.uri,
|
||||
temp: tempFile.uri,
|
||||
|
||||
@@ -50,7 +50,7 @@ export async function saveMediaToLocal(
|
||||
|
||||
try {
|
||||
const sourceFile = new File(normalizedSource)
|
||||
sourceFile.copy(destFile)
|
||||
await sourceFile.copy(destFile)
|
||||
// Update cache after successful save
|
||||
mediaExistsCache.set(localRefPath, true)
|
||||
} catch (error) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import {useCallback} from 'react'
|
||||
import * as MediaLibrary from 'expo-media-library'
|
||||
import * as MediaLibrary from 'expo-media-library/legacy'
|
||||
import {msg} from '@lingui/core/macro'
|
||||
import {useLingui} from '@lingui/react'
|
||||
|
||||
|
||||
@@ -369,7 +369,7 @@ export function TabBar({
|
||||
</Animated.View>
|
||||
</ScrollView>
|
||||
</BlockDrawerGesture>
|
||||
<View style={[t.atoms.border_contrast_low, styles.outerBottomBorder]} />
|
||||
<View style={[t.atoms.bg_contrast_100, styles.outerBottomBorder]} />
|
||||
</View>
|
||||
)
|
||||
}
|
||||
@@ -470,6 +470,6 @@ const styles = StyleSheet.create({
|
||||
left: 0,
|
||||
right: 0,
|
||||
top: '100%',
|
||||
borderBottomWidth: StyleSheet.hairlineWidth,
|
||||
height: StyleSheet.hairlineWidth,
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user