about summary refs log tree commit diff
path: root/src/view/shell/bottom-bar
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-07-25 20:45:15 +0100
committerGitHub <noreply@github.com>2024-07-25 20:45:15 +0100
commit401e92ed425db27b3904184c2cea148b19f9b7da (patch)
treedcd46e64c6ea9ed637fcc1e6415f16ae0da0137a /src/view/shell/bottom-bar
parent00240b95b90847f6691f7fa19c19f37d2ffc6624 (diff)
downloadvoidsky-401e92ed425db27b3904184c2cea148b19f9b7da.tar.zst
Replace `import hairlineWidth =` with const (#4831)
* replace import with const

* just use `StyleSheet.hairlineWidth`

---------

Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
Diffstat (limited to 'src/view/shell/bottom-bar')
-rw-r--r--src/view/shell/bottom-bar/BottomBarStyles.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/view/shell/bottom-bar/BottomBarStyles.tsx b/src/view/shell/bottom-bar/BottomBarStyles.tsx
index ba8743474..c575e3d9b 100644
--- a/src/view/shell/bottom-bar/BottomBarStyles.tsx
+++ b/src/view/shell/bottom-bar/BottomBarStyles.tsx
@@ -1,7 +1,6 @@
 import {StyleSheet} from 'react-native'
 
 import {colors} from 'lib/styles'
-import hairlineWidth = StyleSheet.hairlineWidth
 
 export const styles = StyleSheet.create({
   bottomBar: {
@@ -10,7 +9,7 @@ export const styles = StyleSheet.create({
     left: 0,
     right: 0,
     flexDirection: 'row',
-    borderTopWidth: hairlineWidth,
+    borderTopWidth: StyleSheet.hairlineWidth,
     paddingLeft: 5,
     paddingRight: 10,
   },