mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Merge branch 'main' into release
This commit is contained in:
@ -87,17 +87,13 @@ const TimelineHeaderDefault = ({ queryKey, status, highlighted }: Props) => {
|
|||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
marginBottom: StyleConstants.Spacing.L
|
marginBottom: StyleConstants.Spacing.L
|
||||||
}}
|
}}
|
||||||
|
hitSlop={StyleConstants.Font.Size.M}
|
||||||
>
|
>
|
||||||
<ContextMenu
|
<ContextMenu
|
||||||
dropdownMenuMode
|
dropdownMenuMode
|
||||||
actions={actions}
|
actions={actions}
|
||||||
onPress={({ nativeEvent: { index } }) => {
|
onPress={({ nativeEvent: { index } }) => {
|
||||||
for (const on of [
|
for (const on of [shareOnPress, statusOnPress, accountOnPress, instanceOnPress]) {
|
||||||
shareOnPress,
|
|
||||||
statusOnPress,
|
|
||||||
accountOnPress,
|
|
||||||
instanceOnPress
|
|
||||||
]) {
|
|
||||||
on && on(index)
|
on && on(index)
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
@ -108,7 +104,7 @@ const TimelineHeaderDefault = ({ queryKey, status, highlighted }: Props) => {
|
|||||||
size={StyleConstants.Font.Size.L}
|
size={StyleConstants.Font.Size.L}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
style={{ width: '100%', height: '100%' }}
|
style={{ width: '100%', height: '100%', paddingHorizontal: StyleConstants.Font.Size.M }}
|
||||||
/>
|
/>
|
||||||
</Pressable>
|
</Pressable>
|
||||||
) : null}
|
) : null}
|
||||||
|
@ -57,6 +57,7 @@ const TimelineHeaderDefault = ({ queryKey, status, highlighted }: Props) => {
|
|||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
marginBottom: StyleConstants.Spacing.L
|
marginBottom: StyleConstants.Spacing.L
|
||||||
}}
|
}}
|
||||||
|
hitSlop={StyleConstants.Font.Size.M}
|
||||||
>
|
>
|
||||||
<ContextMenu
|
<ContextMenu
|
||||||
dropdownMenuMode
|
dropdownMenuMode
|
||||||
@ -69,6 +70,7 @@ const TimelineHeaderDefault = ({ queryKey, status, highlighted }: Props) => {
|
|||||||
size={StyleConstants.Font.Size.L}
|
size={StyleConstants.Font.Size.L}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
style={{ paddingHorizontal: StyleConstants.Font.Size.M }}
|
||||||
/>
|
/>
|
||||||
</Pressable>
|
</Pressable>
|
||||||
) : null}
|
) : null}
|
||||||
|
Reference in New Issue
Block a user