Skip to content

Commit 9ca6698

Browse files
sammy-SCmeta-codesync[bot]
authored andcommitted
Remove dead getWarningHighlightColor export from LogBoxStyle
Summary: `getWarningHighlightColor` in `LogBox/UI/LogBoxStyle.js` was an exported color helper with no importers. It is a duplicate of the live `getHighlightColor` (identical `rgba(252, 176, 29, ...)` value), which is the one actually used by LogBox UI. This removes the dead duplicate. Changelog: [Internal] Differential Revision: D108012913
1 parent c740448 commit 9ca6698

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

packages/react-native/Libraries/LogBox/UI/LogBoxStyle.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ export function getLogColor(opacity?: number): string {
4848
return `rgba(119, 119, 119, ${opacity == null ? 1 : opacity})`;
4949
}
5050

51-
export function getWarningHighlightColor(opacity?: number): string {
52-
return `rgba(252, 176, 29, ${opacity == null ? 1 : opacity})`;
53-
}
54-
5551
export function getDividerColor(opacity?: number): string {
5652
return `rgba(255, 255, 255, ${opacity == null ? 1 : opacity})`;
5753
}

0 commit comments

Comments
 (0)