Skip to content

Commit 92c5140

Browse files
sammy-SCmeta-codesync[bot]
authored andcommitted
Remove dead getWarningHighlightColor export from LogBoxStyle
Summary: X-link: #57138 `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] Reviewed By: mdvacca Differential Revision: D108012913 fbshipit-source-id: dd22adcf191284eb3c81778f92a8c72be15f9d30
1 parent 4eb7885 commit 92c5140

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)