Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

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

fix lightbox on android 15 (#7221)

authored by

Samuel Newman and committed by
GitHub
f5a9ac13 c5421596

+4 -8
+2 -6
src/view/com/lightbox/ImageViewing/components/ImageDefaultHeader.tsx
··· 5 5 * LICENSE file in the root directory of this source tree. 6 6 * 7 7 */ 8 - import { 9 - SafeAreaView, 10 - StyleSheet, 11 - TouchableOpacity, 12 - ViewStyle, 13 - } from 'react-native' 8 + import {StyleSheet, TouchableOpacity, ViewStyle} from 'react-native' 9 + import {SafeAreaView} from 'react-native-safe-area-context' 14 10 import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome' 15 11 import {msg} from '@lingui/macro' 16 12 import {useLingui} from '@lingui/react'
+2 -2
src/view/com/lightbox/ImageViewing/index.tsx
··· 62 62 63 63 const PIXEL_RATIO = PixelRatio.get() 64 64 const EDGES = 65 - Platform.OS === 'android' 65 + Platform.OS === 'android' && Platform.Version < 35 66 66 ? (['top', 'bottom', 'left', 'right'] satisfies Edge[]) 67 - : (['left', 'right'] satisfies Edge[]) // iOS, so no top/bottom safe area 67 + : (['left', 'right'] satisfies Edge[]) // iOS or Android 15+, so no top/bottom safe area 68 68 69 69 const SLOW_SPRING: WithSpringConfig = { 70 70 mass: isIOS ? 1.25 : 0.75,