An ATproto social media client -- with an independent Appview.

fix android onboarding dev crash (#9132)

authored by samuel.fm and committed by GitHub 0e9e705d 12e09a9b

Changed files
+3 -2
src
screens
Onboarding
+3 -2
src/screens/Onboarding/Layout.tsx
··· 1 1 import React, {useState} from 'react' 2 2 import {ScrollView, View} from 'react-native' 3 + import {Dimensions} from 'react-native' 3 4 import {useSafeAreaInsets} from 'react-native-safe-area-context' 4 5 import {msg} from '@lingui/macro' 5 6 import {useLingui} from '@lingui/react' ··· 77 78 a.absolute, 78 79 a.z_10, 79 80 { 80 - left: '50%', 81 + left: isWeb ? '50%' : Dimensions.get('window').width / 2 - 45, 81 82 top: insets.top + 2, 82 - transform: [{translateX: '-50%'}], 83 83 }, 84 + web({transform: [{translateX: '-50%'}]}), 84 85 ]}> 85 86 <ButtonText>[DEV] Clear</ButtonText> 86 87 </Button>