Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
luacmartins committed Mar 6, 2024
1 parent 303c1f6 commit d6350d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/workspace/categories/WorkspaceCategoriesPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function WorkspaceCategoriesPage({policy, policyCategories, route}: WorkspaceCat
pendingAction: value.pendingAction,
rightElement: (
<View style={styles.flexRow}>
<Text style={[styles.disabledText, styles.alignSelfCenter, styles.pl2, styles.label]}>
<Text style={[styles.textSupporting, styles.alignSelfCenter, styles.pl2, styles.label]}>
{value.enabled ? translate('workspace.common.enabled') : translate('workspace.common.disabled')}
</Text>
<View style={[styles.p1, styles.pl2]}>
Expand All @@ -91,7 +91,7 @@ function WorkspaceCategoriesPage({policy, policyCategories, route}: WorkspaceCat
</View>
),
})),
[policyCategories, selectedCategories, styles.disabledText, styles.alignSelfCenter, styles.flexRow, styles.label, styles.p1, styles.pl2, theme.icon, translate],
[policyCategories, selectedCategories, styles.alignSelfCenter, styles.flexRow, styles.label, styles.p1, styles.pl2, styles.textSupporting, theme.icon, translate],
);

const toggleCategory = (category: PolicyForList) => {
Expand Down

0 comments on commit d6350d9

Please sign in to comment.