feat(plugins/settings.plugins): make filter button primary when active
This commit is contained in:
parent
c5c087cec3
commit
17bb26a2ea
2 changed files with 2 additions and 2 deletions
|
|
@ -211,7 +211,7 @@ function Screen() {
|
|||
</View>
|
||||
<IconButton
|
||||
icon={FiltersHorizontalIcon}
|
||||
variant="tertiary"
|
||||
variant={repos.length > 0 ? 'primary' : 'tertiary'}
|
||||
onPress={() =>
|
||||
ActionSheetActionCreators.openLazy(
|
||||
import(
|
||||
|
|
|
|||
|
|
@ -270,7 +270,7 @@ function Screen() {
|
|||
</View>
|
||||
<IconButton
|
||||
icon={FiltersHorizontalIcon}
|
||||
variant="tertiary"
|
||||
variant={filter.length > 0 ? 'primary' : 'tertiary'}
|
||||
onPress={() =>
|
||||
ActionSheetActionCreators.openLazy(
|
||||
import('../components/FilterAndSortActionSheet'),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue