Skip to content

Commit

Permalink
fixup! fix(suite-native): use react-native-keyboard-controller for ke…
Browse files Browse the repository at this point in the history
…yboard handling
  • Loading branch information
yanascz committed Feb 6, 2025
1 parent bcefc03 commit de09d27
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions suite-native/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@trezor/styles": "workspace:*",
"@trezor/theme": "workspace:*",
"react": "18.2.0",
"react-native-keyboard-controller": "1.16.2",
"react-native-safe-area-context": "^4.14.0",
"react-redux": "8.0.7"
}
Expand Down
4 changes: 4 additions & 0 deletions suite-native/test-utils/src/expoMock.js
Original file line number Diff line number Diff line change
Expand Up @@ -407,3 +407,7 @@ jest.mock('expo-constants', () => {
jest.mock('redux-devtools-expo-dev-plugin', () => () => next => next);

jest.mock('react-native-safe-area-context', () => mockSafeAreaContext);

jest.mock('react-native-keyboard-controller', () =>
require('react-native-keyboard-controller/jest'),
);
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11202,6 +11202,7 @@ __metadata:
"@trezor/styles": "workspace:*"
"@trezor/theme": "workspace:*"
react: "npm:18.2.0"
react-native-keyboard-controller: "npm:1.16.2"
react-native-safe-area-context: "npm:^4.14.0"
react-redux: "npm:8.0.7"
languageName: unknown
Expand Down

0 comments on commit de09d27

Please sign in to comment.