Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Commit

Permalink
trying to debug the overflow rows of avatars (#1017)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewxhill authored Apr 5, 2019
1 parent 342ceb1 commit e8afa34
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions App/Components/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ class Avatar extends React.Component<Props, State> {
style={{
minHeight: height,
minWidth: width,
alignSelf: 'center'
alignSelf: 'center',
backgroundColor: 'transparent'
}}
source={{
uri: `${Config.RN_TEXTILE_CAFE_GATEWAY_URL}/ipfs/${target}/0/small/d`,
Expand All @@ -146,7 +147,8 @@ class Avatar extends React.Component<Props, State> {
style={{
minHeight: height,
minWidth: width,
alignSelf: 'center'
alignSelf: 'center',
backgroundColor: 'transparent'
}}
target={`${target}/0/${file}/d`}
ipfs={true}
Expand Down
3 changes: 2 additions & 1 deletion App/Containers/Groups.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,8 @@ const mapStateToProps = (state: RootState): StateProps => {
name: thread.name,
// total number of images in the thread
size: thread.photos.length,
members,
// required to ensure up to date index
members: Object.assign([], members),
thumb
}
})
Expand Down

0 comments on commit e8afa34

Please sign in to comment.