Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix: revert

Prateek Sunalf3306e14c795
diff --git a/mobile/apps/photos/lib/ui/tools/editor/image_editor/circular_icon_button.dart b/mobile/apps/photos/lib/ui/tools/editor/image_editor/circular_icon_button.dart
index c21f3256b8..939cddeeda 100644
--- a/mobile/apps/photos/lib/ui/tools/editor/image_editor/circular_icon_button.dart
+++ b/mobile/apps/photos/lib/ui/tools/editor/image_editor/circular_icon_button.dart
@@ -35,9 +35,11 @@ class CircularIconButton extends StatelessWidget {
height: size,
width: size,
decoration: BoxDecoration(
- color: isSelected
- ? Theme.of(context).colorScheme.imageEditorPrimaryColor
- .withValues(alpha: 0.24)
+ color: isSelected
+ ? Theme.of(context)
+ .colorScheme
+ .imageEditorPrimaryColor
+ .withOpacity(0.24)
: Theme.of(context).colorScheme.editorBackgroundColor,
shape: BoxShape.circle,
border: Border.all(