fix(participants/Avatar.native): disable fade animation

The Image adds a fade effect without asking, so lets explicitly disable
it. More info here:
https://github.com/facebook/react-native/issues/10194
This commit is contained in:
paweldomas 2018-07-25 14:39:31 -05:00 committed by Saúl Ibarra Corretgé
parent 590ad90cd1
commit 11c5b220a1
1 changed files with 4 additions and 0 deletions

View File

@ -302,6 +302,10 @@ export default class Avatar extends Component<Props, State> {
{
...props,
// The Image adds a fade effect without asking, so lets
// explicitly disable it. More info here:
// https://github.com/facebook/react-native/issues/10194
fadeDuration: 0,
resizeMode: 'contain',
source,
style: imageStyle