diff --git a/lib/screens/v2/widget_instance/departures.ex b/lib/screens/v2/widget_instance/departures.ex index eaba2104b..0bff84c05 100644 --- a/lib/screens/v2/widget_instance/departures.ex +++ b/lib/screens/v2/widget_instance/departures.ex @@ -328,7 +328,9 @@ defmodule Screens.V2.WidgetInstance.Departures do type: :departure_row, route: serialize_route(departures, route_pill_serializer), headsign: serialize_headsign(departures, screen), - times_with_crowding: serialize_times_with_crowding(departures, screen, now) + times_with_crowding: serialize_times_with_crowding(departures, screen, now), + # Temporarily retained for compatibility with deployed clients that expect this field + inline_alerts: [] } end diff --git a/test/screens/v2/departure_test.exs b/test/screens/v2/departure_test.exs index 13cef53bf..5141219b1 100644 --- a/test/screens/v2/departure_test.exs +++ b/test/screens/v2/departure_test.exs @@ -1,7 +1,6 @@ defmodule Screens.V2.DepartureTest do use ExUnit.Case, async: true - alias Screens.Alerts.Alert alias Screens.Routes.Route alias Screens.Predictions.Prediction alias Screens.Schedules.Schedule diff --git a/test/screens/v2/widget_instance/departures_test.exs b/test/screens/v2/widget_instance/departures_test.exs index fdfe6e261..f4e349b7b 100644 --- a/test/screens/v2/widget_instance/departures_test.exs +++ b/test/screens/v2/widget_instance/departures_test.exs @@ -1,7 +1,6 @@ defmodule Screens.V2.WidgetInstance.DeparturesTest do use ExUnit.Case, async: true - alias Screens.Alerts.Alert alias ScreensConfig.V2.Departures.Header alias ScreensConfig.V2.Departures.Layout alias ScreensConfig.V2.FreeTextLine