Skip to content

Commit

Permalink
fix: breakpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
limpbrains committed May 28, 2024
1 parent 3196885 commit 2006dbd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/screens/Settings/ElectrumConfig/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ const ElectrumConfig = ({
/>
</View>

<View style={[styles.buttons, br.up('smphone') && styles.buttonsRow]}>
<View style={[styles.buttons, br.up('sm') && styles.buttonsRow]}>
<Button
style={styles.button}
text={t('es.button_reset')}
Expand Down
2 changes: 1 addition & 1 deletion src/screens/Settings/Lightning/Channels.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ const Channels = ({
</View>
)}

<View style={[styles.buttons, br.up('smphone') && styles.buttonsRow]}>
<View style={[styles.buttons, br.up('sm') && styles.buttonsRow]}>
<Button
style={styles.button}
text={t('conn_button_export_logs')}
Expand Down
2 changes: 1 addition & 1 deletion src/screens/Settings/RGSServer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const RGSServer = ({
testID="RGSUrl"
/>

<View style={[styles.buttons, br.up('smphone') && styles.buttonsRow]}>
<View style={[styles.buttons, br.up('sm') && styles.buttonsRow]}>
<Button
style={styles.button}
text={t('es.button_reset')}
Expand Down
2 changes: 1 addition & 1 deletion src/styles/breakpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { width } = Dimensions.get('window');

enum BREAKPOINTS {
// xs = 320,
sm = 360, // small android phone: 360
sm = 360, // small android phone
// md = 375, // iphoneSE and up
// lg = 390, // iphone15 and up
// xl = 400,
Expand Down

0 comments on commit 2006dbd

Please sign in to comment.