tangled
alpha
login
or
join now
stream.place
/
streamplace
Live video on the AT Protocol
74
fork
atom
overview
issues
1
pulls
pipelines
Respect top safe inset margin
Natalie B.
5 months ago
1012ffe2
d4753ea6
+7
-6
1 changed file
expand all
collapse all
unified
split
js
app
components
mobile
ui.tsx
+7
-6
js/app/components/mobile/ui.tsx
···
118
r[2],
119
layout.position.absolute,
120
position.left[2],
121
-
{ top: 12 },
122
]}
123
>
124
<View style={[layout.flex.row, layout.flex.center, gap.all[2]]}>
···
169
r[2],
170
layout.position.absolute,
171
position.right[14],
172
-
{ top: 12 },
173
gap.all[4],
174
]}
175
>
···
180
<View
181
style={[
182
{
183
-
padding: 13,
184
-
backgroundColor: "rgba(0, 0, 0, 0.5)",
185
borderRadius: 12,
186
},
187
r[2],
188
layout.position.absolute,
189
position.right[1],
190
-
{ top: 8 },
0
191
gap.all[4],
192
]}
193
>
···
195
<PlayerUI.ContextMenu />
196
) : (
197
<Pressable onPress={doSetIngestCamera}>
198
-
<SwitchCamera size={32} color={colors.gray[200]} />
199
</Pressable>
200
)}
201
</View>
···
118
r[2],
119
layout.position.absolute,
120
position.left[2],
121
+
{ top: safeAreaInsets.top + 12 },
122
]}
123
>
124
<View style={[layout.flex.row, layout.flex.center, gap.all[2]]}>
···
169
r[2],
170
layout.position.absolute,
171
position.right[14],
172
+
{ top: safeAreaInsets.top + 12 },
173
gap.all[4],
174
]}
175
>
···
180
<View
181
style={[
182
{
183
+
padding: 9,
184
+
backgroundColor: "rgba(90,90,90, 0.3)",
185
borderRadius: 12,
186
},
187
r[2],
188
layout.position.absolute,
189
position.right[1],
190
+
191
+
{ top: safeAreaInsets.top + 12 },
192
gap.all[4],
193
]}
194
>
···
196
<PlayerUI.ContextMenu />
197
) : (
198
<Pressable onPress={doSetIngestCamera}>
199
+
<SwitchCamera color={colors.gray[200]} />
200
</Pressable>
201
)}
202
</View>