mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 06:52:41 +01:00
Update quick-actions.tsx
This commit is contained in:
parent
a6344e3bcc
commit
993ddabe04
1 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ function DeviceQuickActions(): JSX.Element | null {
|
|||
};
|
||||
|
||||
const handleOpenURL = (event: { url: string }): void => {
|
||||
DeeplinkSchemaMatch.navigationRouteFor(event, (value: any) => NavigationService.navigate(...value), {
|
||||
DeeplinkSchemaMatch.navigationRouteFor(event, (value: [string, any]) => NavigationService.navigate(...value), {
|
||||
wallets,
|
||||
addWallet,
|
||||
saveToDisk,
|
||||
|
@ -149,7 +149,7 @@ function DeviceQuickActions(): JSX.Element | null {
|
|||
const setQuickActions = async (): Promise<void> => {
|
||||
// @ts-ignore: Fix later
|
||||
if (await DeviceQuickActions.getEnabled()) {
|
||||
QuickActions.isSupported((error, _supported) => {
|
||||
QuickActions.isSupported((error: null, _supported: any) => {
|
||||
if (error === null) {
|
||||
const shortcutItems = [];
|
||||
for (const wallet of wallets.slice(0, 4)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue