1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Rewrite dynamic media width

This commit is contained in:
Zhiyuan Zheng
2020-12-28 16:54:19 +01:00
parent 66385fd0f4
commit 88323a1552
11 changed files with 86 additions and 46 deletions

View File

@ -71,8 +71,9 @@ const HeaderRight: React.FC<Props> = ({
return (
<Pressable
{...(!disabled && !loading && { onPress })}
onPress={onPress}
children={children}
disabled={disabled || loading}
style={[
styles.base,
{