Skip to content

Commit

Permalink
fix custom mode not overriding last trip message (#754)
Browse files Browse the repository at this point in the history
  • Loading branch information
panentheos authored May 20, 2024
1 parent 0698ad0 commit d51ae32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/signs/utilities/messages.ex
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ defmodule Signs.Utilities.Messages do
end

messages =
if sign_config in [:off, :static_text],
if sign_config == :off or match?({:static_text, _}, sign_config),
do: messages,
else:
Signs.Utilities.LastTrip.get_last_trip_messages(
Expand Down

0 comments on commit d51ae32

Please sign in to comment.