Live video on the AT Protocol

Respect top safe inset margin

+7 -6
+7 -6
js/app/components/mobile/ui.tsx
··· 118 118 r[2], 119 119 layout.position.absolute, 120 120 position.left[2], 121 - { top: 12 }, 121 + { top: safeAreaInsets.top + 12 }, 122 122 ]} 123 123 > 124 124 <View style={[layout.flex.row, layout.flex.center, gap.all[2]]}> ··· 169 169 r[2], 170 170 layout.position.absolute, 171 171 position.right[14], 172 - { top: 12 }, 172 + { top: safeAreaInsets.top + 12 }, 173 173 gap.all[4], 174 174 ]} 175 175 > ··· 180 180 <View 181 181 style={[ 182 182 { 183 - padding: 13, 184 - backgroundColor: "rgba(0, 0, 0, 0.5)", 183 + padding: 9, 184 + backgroundColor: "rgba(90,90,90, 0.3)", 185 185 borderRadius: 12, 186 186 }, 187 187 r[2], 188 188 layout.position.absolute, 189 189 position.right[1], 190 - { top: 8 }, 190 + 191 + { top: safeAreaInsets.top + 12 }, 191 192 gap.all[4], 192 193 ]} 193 194 > ··· 195 196 <PlayerUI.ContextMenu /> 196 197 ) : ( 197 198 <Pressable onPress={doSetIngestCamera}> 198 - <SwitchCamera size={32} color={colors.gray[200]} /> 199 + <SwitchCamera color={colors.gray[200]} /> 199 200 </Pressable> 200 201 )} 201 202 </View>