fix pinned dialog button size & icon (#363)

This commit is contained in:
Jakub Kotula 2023-03-30 14:30:47 +02:00 committed by GitHub
parent c351d864a0
commit 6ed390b0dc
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
1 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,6 @@
import { useState } from 'react' import { useState } from 'react'
import { PinIcon } from '@status-im/icons/20' import { CloseIcon, PinIcon } from '@status-im/icons/20'
import { styled } from '@tamagui/core' import { styled } from '@tamagui/core'
import { Pressable, View } from 'react-native' import { Pressable, View } from 'react-native'
@ -30,9 +30,12 @@ const PinnedMessage = (props: Props) => {
</Pressable> </Pressable>
<Base> <Base>
<Button variant="grey" onPress={() => setIsDetailVisible(false)}> <Button
&times; variant="grey"
</Button> onPress={() => setIsDetailVisible(false)}
size={32}
icon={<CloseIcon />}
/>
<DialogHeader> <DialogHeader>
<Text size={27} weight="semibold"> <Text size={27} weight="semibold">
Pinned Messages Pinned Messages