aboutsummaryrefslogtreecommitdiff
path: root/src/screens/main/notification
diff options
context:
space:
mode:
authorankit-thanekar007 <ankit.thanekar007@gmail.com>2021-02-15 15:05:36 -0800
committerankit-thanekar007 <ankit.thanekar007@gmail.com>2021-02-15 15:05:36 -0800
commitdb2ebf4e73a491f2818f4d2575c10515d2a21614 (patch)
treeaa1324d69e613b5e4ca303c972049b6609d3964a /src/screens/main/notification
parent2eaa9718131dcd9cb498f9b9e3c6b30dbbe3551c (diff)
TMA-551: PR updates
Diffstat (limited to 'src/screens/main/notification')
-rw-r--r--src/screens/main/notification/EmptyNotificationView.tsx13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/screens/main/notification/EmptyNotificationView.tsx b/src/screens/main/notification/EmptyNotificationView.tsx
index b76a955b..f43cfb2a 100644
--- a/src/screens/main/notification/EmptyNotificationView.tsx
+++ b/src/screens/main/notification/EmptyNotificationView.tsx
@@ -3,6 +3,7 @@ import {Image, Text, StyleSheet, View} from 'react-native';
import LinearGradient from 'react-native-linear-gradient';
import {UP_TO_DATE, NO_NEW_NOTIFICATIONS} from '../../../constants/strings';
import {NOTIFICATION_GRADIENT} from '../../../constants/constants';
+import {SCREEN_HEIGHT, normalize} from '../../../utils';
const EmptyNotificationView: React.FC = () => {
return (
<View style={styles.container}>
@@ -27,19 +28,17 @@ const EmptyNotificationView: React.FC = () => {
const styles = StyleSheet.create({
container: {alignItems: 'center'},
- topMargin: {marginTop: 43},
+ topMargin: {marginTop: SCREEN_HEIGHT * 0.025},
upperTextStyle: {
fontWeight: '700',
- fontSize: 23,
- fontStyle: 'normal',
- lineHeight: 40,
+ fontSize: normalize(23),
+ lineHeight: normalize(40),
},
bottomTextStyle: {
color: '#2D3B45',
fontWeight: '600',
- fontSize: 20,
- fontStyle: 'normal',
- lineHeight: 40,
+ fontSize: normalize(20),
+ lineHeight: normalize(40),
},
backgroundLinearView: {
borderRadius: 135.5,