Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ jobs:
name: "Compile & Lint"
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v1
- name: Setup elixir
uses: erlef/setup-beam@v1
with:
otp-version: 24.3.3
elixir-version: 1.16.3
version-file: ".tool-versions"
version-type: strict

- uses: actions/checkout@v1
- run: mix deps.get

- uses: actions/cache@v2
- uses: actions/cache@v3
id: mix-cache
with:
path: |
Expand Down
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
erlang 24.3.3 24.3.4.14 24.3.4.17 system
elixir 1.16.3-otp-24
erlang 26.2.5.5 system
elixir 1.19.1-otp-26
2 changes: 1 addition & 1 deletion lib/desktop/window.ex
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ defmodule Desktop.Window do
{:noreply, ui}
end

def handle_cast(:rebuild_webview, ui) do
def handle_cast(:rebuild_webview, ui = %Window{}) do
{:noreply, %Window{ui | webview: Fallback.webview_rebuild(ui)}}
end

Expand Down
1 change: 0 additions & 1 deletion lib/desktop/wx.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# TODO: less stringy metaprogramming
defmodule Desktop.Wx do
@moduledoc """
Elixir version of the constants found in the wx.hrl file, reduced to what is needed in this sample only.
Expand Down