diff options
| author | ankit-thanekar007 <ankit.thanekar007@gmail.com> | 2021-03-24 11:03:19 -0700 |
|---|---|---|
| committer | ankit-thanekar007 <ankit.thanekar007@gmail.com> | 2021-03-24 16:11:31 -0700 |
| commit | 2222579eea6b2de8b093c9201100335067bd51eb (patch) | |
| tree | 0345b298190c5e2b40d084ca9569ec2becf73fd5 /src/components | |
| parent | 47bb3139e4ff697d7a6ca81c8146fc7372adafa9 (diff) | |
Bunch of TODOs for Cornell Changes
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/profile/ProfileHeader.tsx | 2 | ||||
| -rw-r--r-- | src/components/profile/UniversityIcon.tsx | 4 | ||||
| -rw-r--r-- | src/components/search/SearchResultCell.tsx | 2 | ||||
| -rw-r--r-- | src/components/suggestedPeople/BadgesDropdown.tsx | 4 |
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)}} /> |
