Skip to content

Commit 251541c

Browse files
committed
fixup
1 parent 9be5b10 commit 251541c

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

lib/desktop/window.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ defmodule Desktop.Window do
601601
{:noreply, ui}
602602
end
603603

604-
def handle_cast(:rebuild_webview, ui) do
604+
def handle_cast(:rebuild_webview, ui = %Window{}) do
605605
{:noreply, %Window{ui | webview: Fallback.webview_rebuild(ui)}}
606606
end
607607

lib/desktop/wx.ex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# TODO: less stringy metaprogramming
21
defmodule Desktop.Wx do
32
@moduledoc """
43
Elixir version of the constants found in the wx.hrl file, reduced to what is needed in this sample only.

0 commit comments

Comments
 (0)