Skip to content

Commit

Permalink
Merge pull request #57 from davwheat/main
Browse files Browse the repository at this point in the history
fix: use default chime everywhere
  • Loading branch information
davwheat authored Nov 24, 2023
2 parents 3d546d8 + 3d1cb3b commit 864dbb0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/announcement-data/systems/stations/AmeyPhil.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default class AmeyPhil extends StationAnnouncementSystem {
protected readonly CALLING_POINT_DELAY: number = 200
protected readonly CALLING_POINT_AND_DELAY: number = 100

protected get DEFAULT_CHIME(): ChimeType {
get DEFAULT_CHIME(): ChimeType {
return 'four'
}

Expand Down Expand Up @@ -4193,7 +4193,7 @@ export default class AmeyPhil extends StationAnnouncementSystem {
chime: {
name: 'Chime',
type: 'select',
default: 'four',
default: this.DEFAULT_CHIME,
options: [
{ title: '3 chimes', value: 'three' },
{ title: '4 chimes', value: 'four' },
Expand Down Expand Up @@ -4660,7 +4660,7 @@ function LiveTrainAnnouncements({ nextTrainHandler, system }: LiveTrainAnnouncem
}

const options: INextTrainAnnouncementOptions = {
chime: 'four',
chime: system.DEFAULT_CHIME,
hour: h === '00' ? '00 - midnight' : h,
min: m === '00' ? '00 - hundred' : m,
isDelayed: delayMins > 5,
Expand Down

0 comments on commit 864dbb0

Please sign in to comment.