Upload profile image (#29)
* add editable button profile picture * add editable button cover picture * upload profile photos (save them locally) * rollback pbxproj changes * rollback podfile checksum (for git only) * move edit photos onto edit profile modal * adjust edit icon and image cropping size * added temporary (react state) image * added IMAGES_ENABLED flag * minor lint fix * save local photos on edit profile upload (wip) * save profile photos on profile view state (wip) * remove unecessary computed * save photo in state before pushing it to viewmodel * refactor profile pictures's state * remove unnecessary isMe prop * removing old comments * tweak icon size & position * A few styling tweaks and a fix to mobx state management Co-authored-by: Paul Frazee <pfrazee@gmail.com>
This commit is contained in:
parent
4cc90b8ac9
commit
84a60592a8
5 changed files with 269 additions and 16 deletions
|
@ -152,12 +152,13 @@ export const ProfileHeader = observer(function ProfileHeader({
|
|||
}
|
||||
return (
|
||||
<View style={styles.outer}>
|
||||
<UserBanner handle={view.handle} />
|
||||
<UserBanner handle={view.handle} userBanner={view.userBanner} />
|
||||
<View style={styles.avi}>
|
||||
<UserAvatar
|
||||
size={80}
|
||||
displayName={view.displayName}
|
||||
handle={view.handle}
|
||||
displayName={view.displayName}
|
||||
userAvatar={view.userAvatar}
|
||||
/>
|
||||
</View>
|
||||
<View style={styles.content}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue