aboutsummaryrefslogtreecommitdiff
path: root/src/components/profile
diff options
context:
space:
mode:
authorankit-thanekar007 <ankit.thanekar007@gmail.com>2021-03-24 11:03:19 -0700
committerankit-thanekar007 <ankit.thanekar007@gmail.com>2021-03-24 16:11:31 -0700
commit2222579eea6b2de8b093c9201100335067bd51eb (patch)
tree0345b298190c5e2b40d084ca9569ec2becf73fd5 /src/components/profile
parent47bb3139e4ff697d7a6ca81c8146fc7372adafa9 (diff)
Bunch of TODOs for Cornell Changes
Diffstat (limited to 'src/components/profile')
-rw-r--r--src/components/profile/ProfileHeader.tsx2
-rw-r--r--src/components/profile/UniversityIcon.tsx4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/components/profile/ProfileHeader.tsx b/src/components/profile/ProfileHeader.tsx
index e5bd9d93..87eeb507 100644
--- a/src/components/profile/ProfileHeader.tsx
+++ b/src/components/profile/ProfileHeader.tsx
@@ -60,7 +60,7 @@ const ProfileHeader: React.FC<ProfileHeaderProps> = ({
<View style={styles.friendsAndUniversity}>
<FriendsCount screenType={screenType} userXId={userXId} />
<UniversityIcon
- university="brown"
+ university="brown" //TODO: Change
university_class={university_class}
/>
</View>
diff --git a/src/components/profile/UniversityIcon.tsx b/src/components/profile/UniversityIcon.tsx
index aef0de4f..d738e745 100644
--- a/src/components/profile/UniversityIcon.tsx
+++ b/src/components/profile/UniversityIcon.tsx
@@ -21,8 +21,8 @@ const UniversityIcon: React.FC<UniversityIconProps> = ({
var universityIcon;
switch (university) {
case 'cornell':
- //TODO:
- universityIcon = require('../../assets/universities/brown.png');
+ universityIcon = require('../../assets/universities/cornell.png');
+ break;
case 'brown':
universityIcon = require('../../assets/universities/brown.png');
break;