Skip to content

Commit

Permalink
Remove redundant Backend reset
Browse files Browse the repository at this point in the history
This is done in `VintageNetWizard.run_wizard`.
  • Loading branch information
fhunleth committed Oct 15, 2019
1 parent 9ae5f4f commit 8a23349
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions example/lib/wizard_example/button.ex
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ defmodule WizardExample.Button do

@impl true
def handle_info(:timeout, state) do
# Reset the backend to make sure we start wizard
# in a clean state
:ok = VintageNetWizard.Backend.reset()
:ok = VintageNetWizard.run_wizard()
{:noreply, state}
end
Expand Down

0 comments on commit 8a23349

Please sign in to comment.