Skip to content

Commit

Permalink
[FIX] Flashing avatars on Android after #512 (#519)
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolmello authored Oct 31, 2018
1 parent afb2e6f commit e7277be
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
4 changes: 0 additions & 4 deletions __tests__/__snapshots__/Storyshots.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ exports[`Storyshots Avatar avatar 1`] = `
resizeMode="cover"
source={
Object {
"cache": "web",
"priority": "high",
"uri": "baseUrl/avatar/test?format=png&size=50",
}
Expand Down Expand Up @@ -80,7 +79,6 @@ exports[`Storyshots Avatar avatar 1`] = `
resizeMode="cover"
source={
Object {
"cache": "web",
"priority": "high",
"uri": "baseUrl/avatar/aa?format=png&size=50",
}
Expand Down Expand Up @@ -127,7 +125,6 @@ exports[`Storyshots Avatar avatar 1`] = `
resizeMode="cover"
source={
Object {
"cache": "web",
"priority": "high",
"uri": "baseUrl/avatar/bb?format=png&size=50",
}
Expand Down Expand Up @@ -174,7 +171,6 @@ exports[`Storyshots Avatar avatar 1`] = `
resizeMode="cover"
source={
Object {
"cache": "web",
"priority": "high",
"uri": "baseUrl/avatar/test?format=png&size=50",
}
Expand Down
3 changes: 1 addition & 2 deletions app/containers/Avatar.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ export default class Avatar extends React.PureComponent {
style={avatarStyle}
source={{
uri,
priority: FastImage.priority.high,
cache: 'web'
priority: FastImage.priority.high
}}
/>
);
Expand Down

0 comments on commit e7277be

Please sign in to comment.