Skip to content

Commit

Permalink
Fix: font size from 15 to label size
Browse files Browse the repository at this point in the history
  • Loading branch information
dragnoir committed Mar 6, 2024
1 parent 7a3fe07 commit 35403ce
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 @@ -57,7 +57,7 @@ function WorkspaceCategoriesPage({policyCategories, route}: WorkspaceCategoriesP
isSelected: !!selectedCategories[value.name],
rightElement: (
<View style={styles.flexRow}>
<Text style={[styles.disabledText, styles.alignSelfCenter, styles.pl2]}>
<Text style={[styles.disabledText, 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 @@ -69,7 +69,7 @@ function WorkspaceCategoriesPage({policyCategories, route}: WorkspaceCategoriesP
</View>
),
})),
[policyCategories, selectedCategories, styles.alignSelfCenter, styles.disabledText, styles.flexRow, styles.p1, styles.pl2, theme.icon, translate],
[policyCategories, selectedCategories, styles.alignSelfCenter, styles.disabledText, styles.flexRow, styles.label, styles.p1, styles.pl2, theme.icon, translate],
);

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

0 comments on commit 35403ce

Please sign in to comment.