Skip to content

Commit

Permalink
fix: rebase adjusting...
Browse files Browse the repository at this point in the history
  • Loading branch information
juanky201271 committed Aug 13, 2024
1 parent df71e8b commit 3d54da3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions app/AppState/AppContextLoaded.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export default interface AppContextLoaded {
security: SecurityType;
selectServer: SelectServerEnum;
rescanMenu: boolean;
recoveryWalletInfoOnDevice: boolean;

// snackbar queue
snackbars: SnackbarType[];
Expand Down
1 change: 1 addition & 0 deletions app/AppState/AppContextLoading.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export default interface AppContextLoading {
security: SecurityType;
selectServer: SelectServerEnum;
rescanMenu: boolean;
recoveryWalletInfoOnDevice: boolean;

// eslint-disable-next-line semi
}
1 change: 0 additions & 1 deletion app/AppState/AppStateLoading.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export default interface AppStateLoading {
serverErrorTries: number;
donationAlert: boolean;
firstLaunchingMessage: boolean;
recoveryWalletInfoOnDevice: boolean;
hasRecoveryWalletInfoSaved: boolean;

// eslint-disable-next-line semi
Expand Down
1 change: 1 addition & 0 deletions app/LoadedApp/LoadedApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1565,6 +1565,7 @@ export class LoadedAppClass extends Component<LoadedAppClassProps, LoadedAppClas
security: this.state.security,
selectServer: this.state.selectServer,
rescanMenu: this.state.rescanMenu,
recoveryWalletInfoOnDevice: this.state.recoveryWalletInfoOnDevice,
};

const menu = <Menu onItemSelected={this.onMenuItemSelected} updateMenuState={this.updateMenuState} />;
Expand Down
4 changes: 3 additions & 1 deletion app/LoadingApp/LoadingApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ export class LoadingAppClass extends Component<LoadingAppClassProps, LoadingAppC
security: props.security,
selectServer: props.selectServer,
rescanMenu: props.rescanMenu,
recoveryWalletInfoOnDevice: props.recoveryWalletInfoOnDevice,

// state
appStateStatus: AppState.currentState,
Expand All @@ -404,7 +405,7 @@ export class LoadingAppClass extends Component<LoadingAppClassProps, LoadingAppC
serverErrorTries: 0,
donationAlert: props.donationAlert,
firstLaunchingMessage: props.firstLaunchingMessage,
recoveryWalletInfoOnDevice: props.recoveryWalletInfoOnDevice,
hasRecoveryWalletInfoSaved: false,
};

this.dim = {} as EmitterSubscription;
Expand Down Expand Up @@ -1080,6 +1081,7 @@ export class LoadingAppClass extends Component<LoadingAppClassProps, LoadingAppC
security: this.state.security,
selectServer: this.state.selectServer,
rescanMenu: this.state.rescanMenu,
recoveryWalletInfoOnDevice: this.state.recoveryWalletInfoOnDevice,
};

return (
Expand Down
1 change: 0 additions & 1 deletion app/context/contextAppLoading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ export const defaultAppContextLoading: AppContextLoading = {
selectServer: SelectServerEnum.auto,
rescanMenu: false,
recoveryWalletInfoOnDevice: true,
hasRecoveryWalletInfoSaved: false,
};

export const ContextAppLoading = React.createContext(defaultAppContextLoading);
Expand Down

0 comments on commit 3d54da3

Please sign in to comment.