26.05.2018, 02:02
It wasn't a question, it was all a statement.
You need to shift from storing the color in the enum, and use it simply as a value, to use as a setting, and when you are trying to do that one format, use that setting to bring out the right format using a case check.
As I said, the idea of doing it this way, unless you are making allowance for custom enter-able colors, is only going to give you more headaches.
You need to shift from storing the color in the enum, and use it simply as a value, to use as a setting, and when you are trying to do that one format, use that setting to bring out the right format using a case check.
As I said, the idea of doing it this way, unless you are making allowance for custom enter-able colors, is only going to give you more headaches.