mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Make event names match in Swift and JS
This commit is contained in:
parent
a08a8d0089
commit
b63c9b0265
1 changed files with 1 additions and 1 deletions
|
|
@ -300,7 +300,7 @@ public enum WebViewDispatchEvent {
|
|||
case let .updateFontSize(size: size):
|
||||
return "event.fontSize = '\(size)';"
|
||||
case let .updateColorMode(isDark: isDark):
|
||||
return "event.isDarkMode = '\(isDark)';"
|
||||
return "event.isDark = '\(isDark)';"
|
||||
case let .updateFontFamily(family: family):
|
||||
return "event.fontFamily = '\(family)';"
|
||||
case let .saveAnnotation(annotation: annotation):
|
||||
|
|
|
|||
Loading…
Reference in a new issue