From 47bb3139e4ff697d7a6ca81c8146fc7372adafa9 Mon Sep 17 00:00:00 2001
From: ankit-thanekar007 <ankit.thanekar007@gmail.com>
Date: Wed, 24 Mar 2021 09:57:46 -0700
Subject: Added Cornell badges

---
 src/screens/badge/BadgeScreenHeader.tsx | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

(limited to 'src/screens/badge/BadgeScreenHeader.tsx')

diff --git a/src/screens/badge/BadgeScreenHeader.tsx b/src/screens/badge/BadgeScreenHeader.tsx
index fd250585..300869e9 100644
--- a/src/screens/badge/BadgeScreenHeader.tsx
+++ b/src/screens/badge/BadgeScreenHeader.tsx
@@ -2,12 +2,18 @@ import React from 'react';
 import {Image, StyleSheet, Text, View} from 'react-native';
 import {normalize} from '../../utils';
 
-const BadgeScreenHeader: React.FC = () => {
+interface BadgeScreenHeaderProps {
+  university: string;
+}
+
+const BadgeScreenHeader: React.FC<BadgeScreenHeaderProps> = ({university}) => {
   return (
     <View style={styles.container}>
-      <Image source={require('../../assets/images/badges/brown_badge.png')} />
+      <Image
+        source={require('../../assets/images/badges/brown/brown_badge.png')}
+      />
       <View style={styles.universityTextContainer}>
-        <Text style={styles.universityText}>Brown University Badges</Text>
+        <Text style={styles.universityText}>{university} Badges</Text>
       </View>
       <View style={styles.searchTextContainer}>
         <Text style={styles.searchText}>
-- 
cgit v1.2.3-70-g09d2

