Add white to flash color palette
This commit is contained in:
@@ -2,6 +2,7 @@ package solutions.tretter.mindmachine.session
|
||||
|
||||
enum class FlashPaletteColor {
|
||||
BLACK,
|
||||
WHITE,
|
||||
RED,
|
||||
GREEN,
|
||||
YELLOW,
|
||||
|
||||
@@ -164,6 +164,7 @@ private fun FlashPaletteColor.next(): FlashPaletteColor {
|
||||
|
||||
private fun FlashPaletteColor.previewColor(): Color = when (this) {
|
||||
FlashPaletteColor.BLACK -> Color.Black
|
||||
FlashPaletteColor.WHITE -> Color.White
|
||||
FlashPaletteColor.RED -> Color(0xFFD32F2F)
|
||||
FlashPaletteColor.GREEN -> Color(0xFF2E7D32)
|
||||
FlashPaletteColor.YELLOW -> Color(0xFFF9A825)
|
||||
|
||||
Reference in New Issue
Block a user