aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShravya Ramesh <shravs1208@gmail.com>2021-05-27 11:35:02 -0700
committerShravya Ramesh <shravs1208@gmail.com>2021-06-11 11:52:20 -0700
commit4024bf5c7ec0e01f2bae9f65030359c8da69b8f3 (patch)
tree6ebca6e972bdd192a4d7bce42358aab80995b88e
parenta2acb2e97d4ba30713c77e1e44d7c7a069f95034 (diff)
Remove linear gradient
-rw-r--r--src/components/notifications/Notification.tsx8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/components/notifications/Notification.tsx b/src/components/notifications/Notification.tsx
index 3f9cc56a..dff65255 100644
--- a/src/components/notifications/Notification.tsx
+++ b/src/components/notifications/Notification.tsx
@@ -323,13 +323,7 @@ const Notification: React.FC<NotificationProps> = (props) => {
</View>
);
- return unread ? (
- <LinearGradient colors={BACKGROUND_GRADIENT_MAP[2]} useAngle angle={90}>
- {renderContent()}
- </LinearGradient>
- ) : (
- renderContent()
- );
+ return renderContent();
};
const styles = StyleSheet.create({