Skip to content

Commit

Permalink
Update theme updates to use the approach that guarantees delivery (#3…
Browse files Browse the repository at this point in the history
  • Loading branch information
chipsnyder authored Apr 15, 2021
1 parent 0fa010e commit 1c1c861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native-bridge/ios/Gutenberg.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1c1c861

Please sign in to comment.