Skip to content

Commit

Permalink
fix: open settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcMcIntosh committed Aug 16, 2024
1 parent fc1ff00 commit 9b977c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Events {

return when(type) {
EventNames.FromChat.NEW_FILE.value -> p2?.deserialize(payload, Editor.NewFile::class.java)
EventNames.FromChat.OPEN_SETTINGS.value -> p2?.deserialize(payload, OpenSettings::class.java)
EventNames.FromChat.OPEN_SETTINGS.value -> OpenSettings()
EventNames.FromChat.SETUP_HOST.value -> {
val host = p2?.deserialize<Host>(payload, Host::class.java) ?: return null
Setup.SetupHost(host)
Expand Down

0 comments on commit 9b977c8

Please sign in to comment.