diff --git a/screen/wallets/WalletsList.tsx b/screen/wallets/WalletsList.tsx index c60d22ab0..05d2d5696 100644 --- a/screen/wallets/WalletsList.tsx +++ b/screen/wallets/WalletsList.tsx @@ -1,4 +1,4 @@ -import React, { useCallback, useEffect, useLayoutEffect, useReducer, useRef } from 'react'; +import React, { useCallback, useEffect, useReducer, useRef } from 'react'; import { View, TouchableOpacity, @@ -166,7 +166,7 @@ const WalletsList: React.FC = () => { } }; - useLayoutEffect(() => { + useEffect(() => { setOptions({ navigationBarColor: colors.navigationBarColor, headerShown: !isDesktop, @@ -176,26 +176,14 @@ const WalletsList: React.FC = () => { // eslint-disable-next-line react/no-unstable-nested-components headerRight: () => I18nManager.isRTL ? null : ( - + ), // eslint-disable-next-line react/no-unstable-nested-components headerLeft: () => I18nManager.isRTL ? ( - + ) : null, @@ -472,10 +460,6 @@ const styles = StyleSheet.create({ walletsListWrapper: { flex: 1, }, - headerTouch: { - height: 48, - paddingVertical: 10, - }, listHeaderBack: { flexDirection: 'row', justifyContent: 'space-between',