refactor(apps): simplify API layer by removing redundant wrapper classes
- Remove ApiClientWrapper and MockApiClientWrapper - Simplify IApiClient interface - Update dependency injection configuration - Optimize calendar service and AG-UI chat models
This commit is contained in:
@@ -368,7 +368,7 @@ class _CreateEventSheetState extends State<CreateEventSheet>
|
||||
Row(
|
||||
children: defaultColors.map((color) {
|
||||
final colorHex =
|
||||
'#${color.value.toRadixString(16).substring(2).toUpperCase()}';
|
||||
'#${color.toARGB32().toRadixString(16).substring(2).toUpperCase()}';
|
||||
final isSelected = _selectedColor == colorHex;
|
||||
return GestureDetector(
|
||||
onTap: () => setState(() => _selectedColor = colorHex),
|
||||
|
||||
Reference in New Issue
Block a user