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:
parent
590ad90cd1
commit
11c5b220a1
|
@ -302,6 +302,10 @@ export default class Avatar extends Component<Props, State> {
|
||||||
{
|
{
|
||||||
...props,
|
...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',
|
resizeMode: 'contain',
|
||||||
source,
|
source,
|
||||||
style: imageStyle
|
style: imageStyle
|
||||||
|
|
Loading…
Reference in New Issue