aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/profile/ProfileHeader.tsx2
-rw-r--r--src/components/profile/UniversityIcon.tsx4
-rw-r--r--src/components/search/SearchResultCell.tsx2
-rw-r--r--src/components/suggestedPeople/BadgesDropdown.tsx4
4 files changed, 6 insertions, 6 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;
diff --git a/src/components/search/SearchResultCell.tsx b/src/components/search/SearchResultCell.tsx
index 9a8216e5..3379d789 100644
--- a/src/components/search/SearchResultCell.tsx
+++ b/src/components/search/SearchResultCell.tsx
@@ -153,7 +153,7 @@ const SearchResultsCell: React.FC<SearchResults> = ({
<View style={[styles.imageContainer, styles.categoryBackground]}>
<Image
resizeMode="contain"
- source={category === 'Brown' ? universityIcon() : searchIcon()}
+ source={category === 'Brown' ? universityIcon() : searchIcon()} //TODO: Change
style={styles.categoryImage}
/>
</View>
diff --git a/src/components/suggestedPeople/BadgesDropdown.tsx b/src/components/suggestedPeople/BadgesDropdown.tsx
index 99c03057..3cf9775b 100644
--- a/src/components/suggestedPeople/BadgesDropdown.tsx
+++ b/src/components/suggestedPeople/BadgesDropdown.tsx
@@ -81,13 +81,13 @@ const BadgesDropdown: React.FC<BadgesDropdownProps> = ({
}}>
{displayBadges ? (
<UniversityIconClicked
- university="brown"
+ university="brown" //TODO: Change
style={styles.universityIconContainer}
imageStyle={{width: normalize(31), height: normalize(38)}}
/>
) : (
<UniversityIcon
- university="brown"
+ university="brown" //TODO: Change
style={styles.universityIconContainer}
imageStyle={{width: normalize(31), height: normalize(38)}}
/>