From 4ff914596bcb9db77185ae377a79aab9a93de8cf Mon Sep 17 00:00:00 2001 From: Franco Speziali Date: Thu, 17 Mar 2022 14:47:17 +0100 Subject: [PATCH] Modified Event -> backgroundColor -> bgColor --- src/Events/Event.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Events/Event.ts b/src/Events/Event.ts index 052b872..87a0030 100644 --- a/src/Events/Event.ts +++ b/src/Events/Event.ts @@ -5,13 +5,13 @@ export default class Event implements _Event { title: string; text?: string; icon?: string; - backgroundColor?: string; + bgColor?: string; - constructor({ date, title, text, icon, backgroundColor }) { + constructor({ date, title, text, icon, bgColor }) { this.date = new Date(date); this.title = title; this.text = text; this.icon = icon; - this.backgroundColor = backgroundColor; + this.bgColor = bgColor; } }