diff --git a/packages/app/src/hooks/use-dictation.ts b/packages/app/src/hooks/use-dictation.ts index eff44f045..df9b48066 100644 --- a/packages/app/src/hooks/use-dictation.ts +++ b/packages/app/src/hooks/use-dictation.ts @@ -155,8 +155,8 @@ export function useDictation(options: UseDictationOptions): UseDictationResult { if (!isRecordingRef.current) { return; } - void startNewStream("reconnect").catch((error) => { - reportError(error, "Failed to restart dictation stream after reconnect"); + void startNewStream("reconnect").catch((err) => { + reportError(err, "Failed to restart dictation stream after reconnect"); }); }); }, [client, reportError, startNewStream]); diff --git a/packages/app/src/screens/startup-splash-screen.tsx b/packages/app/src/screens/startup-splash-screen.tsx index 6ffdd5a05..bf59c32cf 100644 --- a/packages/app/src/screens/startup-splash-screen.tsx +++ b/packages/app/src/screens/startup-splash-screen.tsx @@ -266,6 +266,23 @@ export function StartupSplashScreen({ bootstrapState }: StartupSplashScreenProps void Clipboard.setStringAsync(payload); }, [daemonLogs?.logPath, daemonLogs?.contents, logsText]); + const copyIcon = useMemo( + () => , + [theme.colors.foreground], + ); + const warningIcon = useMemo( + () => , + [theme.colors.foreground], + ); + const bookIcon = useMemo( + () => , + [theme.colors.foreground], + ); + const retryIcon = useMemo( + () => , + [theme.colors.palette.white], + ); + if (isSimpleSplash) { return ( @@ -336,32 +353,16 @@ export function StartupSplashScreen({ bootstrapState }: StartupSplashScreenProps - - - -