From 770ae5774593d75d1106f88b6a8f5abcb6f5e016 Mon Sep 17 00:00:00 2001
From: Brennan Benson <79079362+brennanb2025@users.noreply.github.com>
Date: Wed, 26 Aug 2026 17:25:39 -0700
Subject: [PATCH] fix(mobile): align report error icon
---
mobile/src/components/MobileRootErrorBoundary.tsx | 4 ++--
mobile/src/components/mobile-root-error-boundary.test.tsx | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/mobile/src/components/MobileRootErrorBoundary.tsx b/mobile/src/components/MobileRootErrorBoundary.tsx
index 32228b034b2..1018234799a 100644
--- a/mobile/src/components/MobileRootErrorBoundary.tsx
+++ b/mobile/src/components/MobileRootErrorBoundary.tsx
@@ -1,5 +1,5 @@
import { Component, Fragment, type ErrorInfo, type ReactNode } from 'react'
-import { AlertTriangle, Bug, House, RefreshCw } from 'lucide-react-native'
+import { AlertTriangle, House, RefreshCw } from 'lucide-react-native'
import { Pressable, StyleSheet, Text, View } from 'react-native'
import { colors, radii, spacing, typography } from '../theme/mobile-theme'
import {
@@ -108,7 +108,7 @@ function MobileRootErrorFallback({
style={styles.secondaryButton}
onPress={onReport}
>
-
+
Report error
diff --git a/mobile/src/components/mobile-root-error-boundary.test.tsx b/mobile/src/components/mobile-root-error-boundary.test.tsx
index bd2be3f7e77..58c91433eef 100644
--- a/mobile/src/components/mobile-root-error-boundary.test.tsx
+++ b/mobile/src/components/mobile-root-error-boundary.test.tsx
@@ -24,7 +24,6 @@ vi.mock('react-native', () => ({
}))
vi.mock('lucide-react-native', () => ({
AlertTriangle: 'AlertTriangle',
- Bug: 'Bug',
House: 'House',
RefreshCw: 'RefreshCw'
}))
@@ -126,6 +125,7 @@ describe('mobile root error boundary', () => {
expect.objectContaining({ backgroundColor: colors.bgRaised })
)
expect(buttons[1]?.findByType('House').props.color).toBe(colors.textPrimary)
+ expect(buttons[2]?.findByType('AlertTriangle').props.color).toBe(colors.textPrimary)
act(() => buttons[2]?.props.onPress())
expect(mocks.shareDiagnostics).toHaveBeenCalledOnce()