mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-09 00:18:43 +01:00
- before updating the color, check if the color has a key - if it does, we update the CALENDAR_COLOR_KEY column (which will also update the CALENDAR_COLOR column internally) - if it does not have a key (ie, if it is not a defined color), we update the CALENDAR_COLOR column and set the CALENDAR_COLOR_KEY to empty string - one note here is that transparent color (0) is not usually a defined color and setting CALENDAR_COLOR to 0 can cause some Calendar apps (like Google Calendar) to convert this to black color (#FF00000).