Skip to content

armgit / ente

Public Imported from GitHub
0

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

Match legacy kit row icon sizing

Neeraj Gupta3d09d4614e6f
diff --git a/mobile/packages/legacy/lib/pages/emergency_page.dart b/mobile/packages/legacy/lib/pages/emergency_page.dart
index d942298f07..fea32078d1 100644
--- a/mobile/packages/legacy/lib/pages/emergency_page.dart
+++ b/mobile/packages/legacy/lib/pages/emergency_page.dart
@@ -541,7 +541,7 @@ class _EmergencyPageState extends State<EmergencyPage> {
menuItemColor: cardColor,
singleBorderRadius: 20,
trailingIcon: Icons.chevron_right,
- trailingIconIsMuted: true,
+ trailingIconColor: colorScheme.strokeBase,
surfaceExecutionStates: false,
alwaysShowSuccessState: false,
onTap: () async {
@@ -1043,10 +1043,13 @@ class _LegacyKitLeadingIcon extends StatelessWidget {
@override
Widget build(BuildContext context) {
- return const Center(
- child: CustomPaint(
- size: Size.square(18),
- painter: _LegacyKitLeadingIconPainter(),
+ return const SizedBox.square(
+ dimension: 36,
+ child: Center(
+ child: CustomPaint(
+ size: Size.square(18),
+ painter: _LegacyKitLeadingIconPainter(),
+ ),
),
);
}