Skip to content

Commit

Permalink
Merge pull request #22 from mbta/cm/cr-widget-is-free-config
Browse files Browse the repository at this point in the history
CR Widget is_free flag
  • Loading branch information
cmaddox5 authored Apr 11, 2024
2 parents 8668491 + 6ee3129 commit 6599d0d
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 6599d0d

Please sign in to comment.