Skip to content

Commit

Permalink
Added boolean config to CR widget that controls headline text.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaddox5 committed Apr 10, 2024
1 parent f5d84ae commit 111c9fe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/config/v2/cr_departures.ex
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ defmodule ScreensConfig.V2.CRDepartures do
wayfinding_arrows: platform_directions(),
enabled: boolean(),
header_pill: :red | :blue | :green | :orange,
pair_with_alert_widget: boolean()
pair_with_alert_widget: boolean(),
is_free: boolean()
}

defstruct station: nil,
Expand All @@ -28,7 +29,8 @@ defmodule ScreensConfig.V2.CRDepartures do
wayfinding_arrows: nil,
enabled: false,
header_pill: nil,
pair_with_alert_widget: false
pair_with_alert_widget: false,
is_free: false

use ScreensConfig.Struct, with_default: true

Expand Down

0 comments on commit 111c9fe

Please sign in to comment.