TF-981 Fix composer background color is broken

This commit is contained in:
dab246
2022-09-28 12:19:30 +07:00
committed by Dat H. Pham
parent 22aa9acd9c
commit 7c69ba820c
2 changed files with 10 additions and 16 deletions
@@ -156,5 +156,10 @@ extension AppColor on Color {
[Color(0xFF8DDAD5), Color(0xFF00CDAC)],
[Color(0xFFDE9AF5), Color(0xFFD670EE)],
];
String toHexTriplet() => '#${(value & 0xFFFFFF)
.toRadixString(16)
.padLeft(6, '0')
.toUpperCase()}';
}