Skip to content

Commit

Permalink
feat: addd bus emoji (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgokcin authored Aug 14, 2024
1 parent 658bcdd commit d3bb401
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Code.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
const emojiMap = {
'interview': '🎙️',
'flight': '🛫',
'bus': '🚌',
'journey': '🚆',
'trip': '🚆',
'stay': '🏠',
Expand Down Expand Up @@ -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")) {
Expand Down

0 comments on commit d3bb401

Please sign in to comment.