diff --git a/components/DynamicQRCode.js b/components/DynamicQRCode.js index 84e6bce7a..7a5d0dff4 100644 --- a/components/DynamicQRCode.js +++ b/components/DynamicQRCode.js @@ -1,7 +1,7 @@ /* eslint react/prop-types: "off", react-native/no-inline-styles: "off" */ import React, { Component } from 'react'; import { Text } from 'react-native-elements'; -import { Dimensions, StyleSheet, TouchableOpacity, View } from 'react-native'; +import { Dimensions, LayoutAnimation, StyleSheet, TouchableOpacity, View } from 'react-native'; import { encodeUR } from 'bc-ur/dist'; import QRCode from 'react-native-qrcode-svg'; import { BlueCurrentTheme } from '../components/themes'; @@ -107,6 +107,7 @@ export class DynamicQRCode extends Component { { + LayoutAnimation.configureNext(LayoutAnimation.Presets.easeInEaseOut); this.setState(prevState => ({ hideControls: !prevState.hideControls })); }} >