Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c2167e03 authored by Jonas Häusler's avatar Jonas Häusler Committed by Michael Bestas
Browse files

check event color is initialized before using it

if we use the event color while its not initialized, the
color is still a valid color int (-1, white).
in this case we tried to find the uninitialized color
inside the available event colors and when the calendar
provided the white color, we used it erroneously
instead of the calendar color for new events.

fixes #1294

Change-Id: I60102f91c06a4b0552c1ea8ef5497d9f042878ec
parent 2589e45a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment