Rename bottomsheetIcon to secondaryIcon

To be able to reuse this color without loosing a correct semantic name.
This commit is contained in:
Théo Poizat
2026-01-20 15:27:12 +01:00
committed by Dat H. Pham
parent b64aa4e4c7
commit 4ba6184a69
2 changed files with 3 additions and 3 deletions
@@ -12,7 +12,7 @@ abstract final class AIScribeColors {
// Icons
static const Color scribeIcon = AppColor.primaryMain;
static const Color aiAssistantIcon = AppColor.primaryMain;
static final Color bottomsheetIcon = AppColor.gray424244.withValues(alpha: 0.72);
static final Color secondaryIcon = AppColor.gray424244.withValues(alpha: 0.72);
// Overlays
static final Color dialogBarrier = Colors.black.withValues(alpha: 0.12);
@@ -58,7 +58,7 @@ class _AiScribeMobileActionsBottomSheetState
icon: widget.imagePaths.icArrowBackIos,
backgroundColor: Colors.transparent,
iconSize: AIScribeSizes.bottomsheetIcon,
iconColor: AIScribeColors.bottomsheetIcon,
iconColor: AIScribeColors.secondaryIcon,
padding: AIScribeSizes.backIconPadding,
onTapActionCallback: _goBackToCategories
)
@@ -80,7 +80,7 @@ class _AiScribeMobileActionsBottomSheetState
icon: widget.imagePaths.icCloseDialog,
backgroundColor: Colors.transparent,
iconSize: AIScribeSizes.bottomsheetIcon,
iconColor: AIScribeColors.bottomsheetIcon,
iconColor: AIScribeColors.secondaryIcon,
onTapActionCallback: () => Navigator.of(context).pop()
)
],