Skip to content

Commit

Permalink
fix styling for ws settings page
Browse files Browse the repository at this point in the history
  • Loading branch information
b4s36t4 committed Nov 26, 2023
1 parent e0e97c1 commit 82a850a
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions src/pages/workspace/WorkspaceSettingsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,18 +109,16 @@ function WorkspaceSettingsPage({policy, currencyList, windowWidth, route}) {
shouldShowRightIcon
onPress={onPressPolicyName}
/>
<View style={[styles.mt4, styles.mhn5]}>
<MenuItemWithTopDescription
title={formattedCurrency}
description={translate('workspace.editor.currencyInputLabel')}
shouldShowRightIcon
disabled={hasVBA}
onPress={onPressCurrency}
/>
<Text style={[styles.textLabel, styles.colorMuted, styles.mt2, styles.mh5]}>
{hasVBA ? translate('workspace.editor.currencyInputDisabledText') : translate('workspace.editor.currencyInputHelpText')}
</Text>
</View>
<MenuItemWithTopDescription
title={formattedCurrency}
description={translate('workspace.editor.currencyInputLabel')}
shouldShowRightIcon
disabled={hasVBA}
onPress={onPressCurrency}
/>
<Text style={[styles.textLabel, styles.colorMuted, styles.mt2, styles.mh5]}>
{hasVBA ? translate('workspace.editor.currencyInputDisabledText') : translate('workspace.editor.currencyInputHelpText')}
</Text>
</OfflineWithFeedback>
</>
)}
Expand Down

0 comments on commit 82a850a

Please sign in to comment.