Fix navigator icons (#137)

Co-authored-by: Snaiker <steveraki2000@gmail.com>
This commit is contained in:
Snaiker 2023-01-27 04:32:07 +00:00 committed by GitHub
parent e1b9347066
commit 506fec2f61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,8 +61,8 @@ export const NavigatorSearchResultView: FC<NavigatorSearchResultViewProps> = pro
<Column className="bg-white rounded border border-muted" gap={ 0 }> <Column className="bg-white rounded border border-muted" gap={ 0 }>
<Flex fullWidth alignItems="center" justifyContent="between" className="px-2 py-1"> <Flex fullWidth alignItems="center" justifyContent="between" className="px-2 py-1">
<Flex grow pointer alignItems="center" gap={ 1 } onClick={ event => setIsExtended(prevValue => !prevValue) }> <Flex grow pointer alignItems="center" gap={ 1 } onClick={ event => setIsExtended(prevValue => !prevValue) }>
{ isExtended && <FaPlus className="text-secondary fa-icon" /> } { isExtended && <FaMinus className="text-secondary fa-icon" /> }
{ !isExtended && <FaMinus className="text-secondary fa-icon" /> } { !isExtended && <FaPlus className="text-secondary fa-icon" /> }
<Text>{ LocalizeText(getResultTitle()) }</Text> <Text>{ LocalizeText(getResultTitle()) }</Text>
</Flex> </Flex>
<Flex gap={ 2 }> <Flex gap={ 2 }>