From d3bb4013e830bfbf8f8fa65b7f9c928e4ce82673 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?deniz=20g=C3=B6k=C3=A7in?= <33603535+dgokcin@users.noreply.github.com> Date: Wed, 14 Aug 2024 13:29:17 +0200 Subject: [PATCH] feat: addd bus emoji (#4) --- Code.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Code.js b/Code.js index bd11758..2ba96b0 100644 --- a/Code.js +++ b/Code.js @@ -2,6 +2,7 @@ const emojiMap = { 'interview': '🎙️', 'flight': '🛫', + 'bus': '🚌', 'journey': '🚆', 'trip': '🚆', 'stay': '🏠', @@ -68,7 +69,7 @@ function ColorEvents() { if (originalTitle.includes("interview")) { color = CalendarApp.EventColor.YELLOW; Logger.log("Title: " + title + " - Color to print: YELLOW"); - } else if (originalTitle.includes("flight") || originalTitle.includes("journey") || originalTitle.includes("trip")) { + } else if (originalTitle.includes("flight") || originalTitle.includes("journey") || originalTitle.includes("trip") || originalTitle.includes("bus")) { color = CalendarApp.EventColor.ORANGE; Logger.log("Title: " + title + " - Color to print: ORANGE"); } else if (originalTitle.includes("stay") || originalTitle.includes("reservation")) {