Skip to content

Commit

Permalink
Update reconstructed_alert.ex
Browse files Browse the repository at this point in the history
Changed function name to be less confusing.
  • Loading branch information
cmaddox5 authored Oct 4, 2023
1 parent a84ac12 commit 7dd797b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/screens/v2/widget_instance/reconstructed_alert.ex
Original file line number Diff line number Diff line change
Expand Up @@ -651,17 +651,17 @@ defmodule Screens.V2.WidgetInstance.ReconstructedAlert do

def alert_ids(%__MODULE__{} = t), do: [t.alert.id]

def temporarily_override_alert(_t), do: true
def valid_candidate?(_t), do: true

defimpl Screens.V2.WidgetInstance do
def priority(t), do: ReconstructedAlert.priority(t)
def serialize(t), do: ReconstructedAlert.serialize(t)
def slot_names(t), do: ReconstructedAlert.slot_names(t)
def widget_type(t), do: ReconstructedAlert.widget_type(t)
def valid_candidate?(t), do: ReconstructedAlert.temporarily_override_alert(t)
def valid_candidate?(t), do: ReconstructedAlert.valid_candidate?(t)
def audio_serialize(t), do: ReconstructedAlert.serialize(t)
def audio_sort_key(t), do: ReconstructedAlert.audio_sort_key(t)
def audio_valid_candidate?(t), do: ReconstructedAlert.temporarily_override_alert(t)
def audio_valid_candidate?(t), do: ReconstructedAlert.valid_candidate?(t)
def audio_view(_instance), do: ScreensWeb.V2.Audio.ReconstructedAlertView
end

Expand Down

0 comments on commit 7dd797b

Please sign in to comment.