We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9be5b10 commit 251541cCopy full SHA for 251541c
2 files changed
lib/desktop/window.ex
@@ -601,7 +601,7 @@ defmodule Desktop.Window do
601
{:noreply, ui}
602
end
603
604
- def handle_cast(:rebuild_webview, ui) do
+ def handle_cast(:rebuild_webview, ui = %Window{}) do
605
{:noreply, %Window{ui | webview: Fallback.webview_rebuild(ui)}}
606
607
lib/desktop/wx.ex
@@ -1,4 +1,3 @@
1
-# TODO: less stringy metaprogramming
2
defmodule Desktop.Wx do
3
@moduledoc """
4
Elixir version of the constants found in the wx.hrl file, reduced to what is needed in this sample only.
0 commit comments