fix(android): added recent apps button (#5331)
This commit is contained in:
parent
30e68f6d1f
commit
cc749fe679
|
|
@ -281,6 +281,7 @@ const keyMap = new Map<string, number>([
|
|||
['Slash', 76],
|
||||
['/', 76],
|
||||
['At', 77],
|
||||
['@', 77],
|
||||
['Num', 78],
|
||||
['HeadsetHook', 79],
|
||||
['Focus', 80],
|
||||
|
|
@ -288,4 +289,9 @@ const keyMap = new Map<string, number>([
|
|||
['Menu', 82],
|
||||
['Notification', 83],
|
||||
['Search', 84],
|
||||
['AppSwitch', 187],
|
||||
['Assist', 219],
|
||||
['Cut', 277],
|
||||
['Copy', 278],
|
||||
['Paste', 279],
|
||||
]);
|
||||
|
|
|
|||
10
types/types.d.ts
vendored
10
types/types.d.ts
vendored
|
|
@ -7290,14 +7290,20 @@ export type AndroidKey =
|
|||
'Semicolon' | ';' |
|
||||
'Apostrophe' | '`' |
|
||||
'Slash' | '/' |
|
||||
'At' |
|
||||
'At' | '@' |
|
||||
'Num' |
|
||||
'HeadsetHook' |
|
||||
'Focus' |
|
||||
'Plus' | '+' |
|
||||
'Menu' |
|
||||
'Notification' |
|
||||
'Search';
|
||||
'Search' |
|
||||
'RecentApps' |
|
||||
'AppSwitch' |
|
||||
'Assist' |
|
||||
'Cut' |
|
||||
'Copy' |
|
||||
'Paste';
|
||||
|
||||
// This is required to not export everything by default. See https://github.com/Microsoft/TypeScript/issues/19545#issuecomment-340490459
|
||||
export {};
|
||||
|
|
|
|||
10
utils/generate_types/overrides.d.ts
vendored
10
utils/generate_types/overrides.d.ts
vendored
|
|
@ -303,14 +303,20 @@ export type AndroidKey =
|
|||
'Semicolon' | ';' |
|
||||
'Apostrophe' | '`' |
|
||||
'Slash' | '/' |
|
||||
'At' |
|
||||
'At' | '@' |
|
||||
'Num' |
|
||||
'HeadsetHook' |
|
||||
'Focus' |
|
||||
'Plus' | '+' |
|
||||
'Menu' |
|
||||
'Notification' |
|
||||
'Search';
|
||||
'Search' |
|
||||
'RecentApps' |
|
||||
'AppSwitch' |
|
||||
'Assist' |
|
||||
'Cut' |
|
||||
'Copy' |
|
||||
'Paste';
|
||||
|
||||
// This is required to not export everything by default. See https://github.com/Microsoft/TypeScript/issues/19545#issuecomment-340490459
|
||||
export {};
|
||||
|
|
|
|||
Loading…
Reference in a new issue