From 10818c8b10b60b87991a8973e256f25ab2ed6c85 Mon Sep 17 00:00:00 2001 From: Pieter De Baets Date: Mon, 16 Nov 2026 10:46:28 +0000 Subject: [PATCH] =?UTF-8?q?Allow=20the=20existing=20StatusBar=20getter?= =?UTF-8?q?=E2=80=99s=20synchronous=20main-queue=20call=20(#59998)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: Keep the existing `getVerticalBarEdge` implementation and allow its Clang-Tidy synchronous-main-queue diagnostic at this call site only. No runtime behavior or public API changes. Changelog: [Internal] Reviewed By: cortinico Differential Revision: D131753903 Pull Request resolved: https://github.com/react/react-native/pull/59998 --- packages/react-native/React/CoreModules/RCTStatusBarManager.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-native/React/CoreModules/RCTStatusBarManager.mm b/packages/react-native/React/CoreModules/RCTStatusBarManager.mm index 032e8ac369f..5587a700903 100644 --- a/packages/react-native/React/CoreModules/RCTStatusBarManager.mm +++ b/packages/react-native/React/CoreModules/RCTStatusBarManager.mm @@ -226,6 +226,7 @@ RCT_EXPORT_MODULE() - (NSString *)getVerticalBarEdge { __block NSString *edge; + // NOLINTNEXTLINE(facebook-rct-unsafe-execute-on-main-queue-sync-check) RCTUnsafeExecuteOnMainQueueSync(^{ edge = RCTVerticalBarEdge(RCTKeyWindow().traitCollection); });