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

Fix fake external tag as link

This commit is contained in:
Zhiyuan Zheng
2020-12-28 17:30:20 +01:00
parent 88323a1552
commit 7db153f2ae
7 changed files with 83 additions and 51 deletions

View File

@ -80,7 +80,7 @@ const Button: React.FC<Props> = ({
<>
<Feather
name={content as any}
size={StyleConstants.Font.Size[size] * (size === 'M' ? 1 : 1.5)}
size={StyleConstants.Font.Size[size] * (size === 'L' ? 1.25 : 1)}
color={colorContent}
style={{ opacity: loading ? 0 : 1 }}
testID='icon'
@ -95,7 +95,7 @@ const Button: React.FC<Props> = ({
style={{
color: colorContent,
fontSize:
StyleConstants.Font.Size[size] * (size === 'M' ? 1 : 1.5),
StyleConstants.Font.Size[size] * (size === 'L' ? 1.25 : 1),
fontWeight: destructive
? StyleConstants.Font.Weight.Bold
: undefined,