summaryrefslogtreecommitdiff
path: root/frontend/app/config/appConstants.js
diff options
context:
space:
mode:
authorAndrew <saintruler@gmail.com>2019-03-11 21:00:02 +0400
committerAndrew <saintruler@gmail.com>2019-03-11 21:00:02 +0400
commit7e7dd5244e8d26485ad7950a89c04c98c4fef83f (patch)
tree810730c4650392080fb87a78d3b527201e89fe4b /frontend/app/config/appConstants.js
Initial commit/
Diffstat (limited to 'frontend/app/config/appConstants.js')
-rw-r--r--frontend/app/config/appConstants.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/frontend/app/config/appConstants.js b/frontend/app/config/appConstants.js
new file mode 100644
index 0000000..a120915
--- /dev/null
+++ b/frontend/app/config/appConstants.js
@@ -0,0 +1,7 @@
+import { Platform } from 'react-native';
+
+export class UIConstants {
+ static AppbarHeight = Platform.OS === 'ios' ? 44 : 56;
+ static StatusbarHeight = Platform.OS === 'ios' ? 20 : 0;
+ static HeaderHeight = UIConstants.AppbarHeight + UIConstants.StatusbarHeight;
+}