Rename bottomsheetIcon to secondaryIcon
To be able to reuse this color without loosing a correct semantic name.
This commit is contained in:
@@ -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);
|
||||
|
||||
+2
-2
@@ -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()
|
||||
)
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user