mirror of https://github.com/tooot-app/app
Fix "Show boosts" "Show replies" toggles (#580)
* Typo * Fix CheckboxItem check mark lingers around
This commit is contained in:
parent
533ff1d549
commit
5967fff318
|
@ -61,7 +61,7 @@ const Root: React.FC<NativeStackScreenProps<TabLocalStackParamList, 'Tab-Local-R
|
|||
/>
|
||||
{page.page === 'Following' && !instanceFollowingPage.showBoosts ? (
|
||||
<Icon
|
||||
name='MessageCircle'
|
||||
name='Repeat'
|
||||
size={StyleConstants.Font.Size.M}
|
||||
color={colors.red}
|
||||
style={{ marginLeft: StyleConstants.Spacing.S }}
|
||||
|
@ -70,7 +70,7 @@ const Root: React.FC<NativeStackScreenProps<TabLocalStackParamList, 'Tab-Local-R
|
|||
) : null}
|
||||
{page.page === 'Following' && !instanceFollowingPage.showReplies ? (
|
||||
<Icon
|
||||
name='Repeat'
|
||||
name='MessageCircle'
|
||||
size={StyleConstants.Font.Size.M}
|
||||
color={colors.red}
|
||||
style={{ marginLeft: StyleConstants.Spacing.S }}
|
||||
|
@ -100,7 +100,7 @@ const Root: React.FC<NativeStackScreenProps<TabLocalStackParamList, 'Tab-Local-R
|
|||
</DropdownMenu.Item>
|
||||
<DropdownMenu.CheckboxItem
|
||||
key='showBoosts'
|
||||
value={instanceFollowingPage.showBoosts ? 'on' : 'mixed'}
|
||||
value={instanceFollowingPage.showBoosts ? 'on' : 'off'}
|
||||
onValueChange={() => {
|
||||
setQueryKey([
|
||||
'Timeline',
|
||||
|
@ -120,7 +120,7 @@ const Root: React.FC<NativeStackScreenProps<TabLocalStackParamList, 'Tab-Local-R
|
|||
</DropdownMenu.CheckboxItem>
|
||||
<DropdownMenu.CheckboxItem
|
||||
key='showReplies'
|
||||
value={instanceFollowingPage.showReplies ? 'on' : 'mixed'}
|
||||
value={instanceFollowingPage.showReplies ? 'on' : 'off'}
|
||||
onValueChange={() => {
|
||||
setQueryKey([
|
||||
'Timeline',
|
||||
|
|
Loading…
Reference in New Issue