From 661548ae5f1965f5fbff1c40b54fd37fa57a6b79 Mon Sep 17 00:00:00 2001 From: Chip Snyder Date: Wed, 14 Apr 2021 12:40:59 -0400 Subject: [PATCH] Update theme updates to use the approach that guarantees delivery --- packages/react-native-bridge/ios/Gutenberg.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native-bridge/ios/Gutenberg.swift b/packages/react-native-bridge/ios/Gutenberg.swift index 669e89741aa9de..d6cc7605385125 100644 --- a/packages/react-native-bridge/ios/Gutenberg.swift +++ b/packages/react-native-bridge/ios/Gutenberg.swift @@ -196,7 +196,7 @@ public class Gutenberg: NSObject { themeUpdates["gradients"] = gradients } - bridgeModule.sendEventIfNeeded(.updateTheme, body:themeUpdates) + sendEvent(.updateTheme, body:themeUpdates) } public func showNotice(_ message: String) {