mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 18:00:17 +01:00
REF: options should be in nav file so they render correctly
This commit is contained in:
parent
43fc2fa863
commit
edfa6f5a3d
@ -338,7 +338,15 @@ const DetailViewStackScreensStack = () => {
|
||||
<DetailViewRoot.Screen
|
||||
name="WalletsList"
|
||||
component={WalletsList}
|
||||
options={navigationStyle({ title: '', headerBackTitle: loc.wallets.list_title })(theme)}
|
||||
options={navigationStyle({
|
||||
title: '',
|
||||
headerBackTitle: loc.wallets.list_title,
|
||||
navigationBarColor: theme.colors.navigationBarColor,
|
||||
headerShown: !isDesktop,
|
||||
headerStyle: {
|
||||
backgroundColor: theme.colors.customHeader,
|
||||
},
|
||||
})(theme)}
|
||||
/>
|
||||
<DetailViewRoot.Screen
|
||||
name="WalletTransactions"
|
||||
|
@ -169,11 +169,6 @@ const WalletsList: React.FC = () => {
|
||||
|
||||
useEffect(() => {
|
||||
setOptions({
|
||||
navigationBarColor: colors.navigationBarColor,
|
||||
headerShown: !isDesktop,
|
||||
headerStyle: {
|
||||
backgroundColor: colors.customHeader,
|
||||
},
|
||||
// eslint-disable-next-line react/no-unstable-nested-components
|
||||
headerRight: () =>
|
||||
I18nManager.isRTL ? null : (
|
||||
|
Loading…
Reference in New Issue
Block a user