Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Change border of plans in subscription screen

ashilknd5711095f98a
diff --git a/mobile/lib/ui/payment/subscription_plan_widget.dart b/mobile/lib/ui/payment/subscription_plan_widget.dart
index 706fa6ae2b..185c4e0462 100644
--- a/mobile/lib/ui/payment/subscription_plan_widget.dart
+++ b/mobile/lib/ui/payment/subscription_plan_widget.dart
@@ -49,16 +49,20 @@ class _SubscriptionPlanWidgetState extends State<SubscriptionPlanWidget> {
decoration: BoxDecoration(
color: backgroundElevated2Light,
borderRadius: BorderRadius.circular(8),
- border: Border.all(
- color: brightness == Brightness.dark
- ? widget.isActive
- ? const Color.fromRGBO(191, 191, 191, 1)
- : strokeMutedLight
- : widget.isActive
- ? const Color.fromRGBO(177, 177, 177, 1)
- : const Color.fromRGBO(66, 66, 66, 0.4),
- width: 1,
- ),
+ border: widget.isActive
+ ? Border.all(
+ color: getEnteColorScheme(context).primary700,
+ width: brightness == Brightness.dark ? 1.5 : 1,
+ strokeAlign: BorderSide.strokeAlignInside,
+ )
+ : null,
+ boxShadow: [
+ BoxShadow(
+ color: Colors.black.withOpacity(0.08),
+ offset: const Offset(0, 4),
+ blurRadius: 4,
+ ),
+ ],
),
child: Stack(
children: [