diff --git a/class/quick-actions.tsx b/class/quick-actions.tsx index c88c82292..638f888a3 100644 --- a/class/quick-actions.tsx +++ b/class/quick-actions.tsx @@ -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 => { // @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)) {