aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/common/NavigationIcon.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/common/NavigationIcon.tsx b/src/components/common/NavigationIcon.tsx
index 8fff18f4..4bf35360 100644
--- a/src/components/common/NavigationIcon.tsx
+++ b/src/components/common/NavigationIcon.tsx
@@ -10,6 +10,7 @@ import {
interface NavigationIconProps extends TouchableOpacityProps {
tab: 'Home' | 'Search' | 'Upload' | 'Notifications' | 'Profile';
disabled?: boolean;
+ newIcon?: boolean;
}
const NavigationIcon = (props: NavigationIconProps) => {
@@ -32,7 +33,9 @@ const NavigationIcon = (props: NavigationIconProps) => {
break;
case 'Notifications':
imgSrc = props.disabled
- ? require('../../assets/navigationIcons/notifications.png')
+ ? props.newIcon
+ ? require('../../assets/navigationIcons/new-notifications.png')
+ : require('../../assets/navigationIcons/notifications.png')
: require('../../assets/navigationIcons/notifications-clicked.png');
break;
case 'Profile':