File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
kit/src/views/Home/components/BTCFreshAddressProvider Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ import { ETranslations } from '@onekeyhq/shared/src/locale';
1717import { EModalRoutes , EModalSettingRoutes } from '@onekeyhq/shared/src/routes' ;
1818import { openUrlExternal } from '@onekeyhq/shared/src/utils/openUrlUtils' ;
1919
20+ import { ESettingsTabNames } from '../../../Setting/pages/Tab/config' ;
21+
2022export function BTCFreshAddressProvider ( ) {
2123 const intl = useIntl ( ) ;
2224 const navigation = useAppNavigation ( ) ;
@@ -80,7 +82,10 @@ export function BTCFreshAddressProvider() {
8082 onConfirm : ( ) => {
8183 resetRef ( ) ;
8284 navigation . pushModal ( EModalRoutes . SettingModal , {
83- screen : EModalSettingRoutes . SettingListModal ,
85+ screen : EModalSettingRoutes . SettingListSubModal ,
86+ params : {
87+ name : ESettingsTabNames . Wallet ,
88+ } ,
8489 } ) ;
8590 } ,
8691 onCancel : resetRef ,
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export type IModalSettingParamList = {
3131 [ EModalSettingRoutes . SettingListSubModal ] :
3232 | {
3333 name : string ;
34- title : string ;
34+ title ? : string ;
3535 }
3636 | undefined ;
3737 [ EModalSettingRoutes . SettingCurrencyModal ] : undefined ;
You can’t perform that action at this time.
0 commit comments