Skip to content

Commit ea497ad

Browse files
CopilotSaadnajmi
andcommitted
Fix: Move UIColorFromColorWithSystemEffect out of anonymous namespace
Co-authored-by: Saadnajmi <6722175+Saadnajmi@users.noreply.github.com>
1 parent a62f622 commit ea497ad

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

packages/react-native/ReactCommon/react/renderer/graphics/platform/macos/react/renderer/graphics/HostPlatformColor.mm

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222

2323
namespace facebook::react {
2424

25-
namespace {
26-
2725
RCTUIColor *_Nullable UIColorFromColorWithSystemEffect(
2826
RCTUIColor *baseColor,
2927
const std::string &systemEffectString)
@@ -49,8 +47,6 @@
4947
return colorWithEffect;
5048
}
5149

52-
} // anonymous namespace
53-
5450
} // namespace facebook::react
5551

5652
NS_ASSUME_NONNULL_END

packages/react-native/ReactCommon/react/renderer/graphics/platform/macos/react/renderer/graphics/PlatformColorParser.mm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
#import "PlatformColorParser.h"
1111

12-
#import <React/RCTUIKit.h>
1312
#import <react/renderer/core/RawValue.h>
1413
#import <react/renderer/graphics/HostPlatformColor.h>
1514
#import <react/renderer/graphics/RCTPlatformColorUtils.h>

0 commit comments

Comments
 (0)