Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob] UX improvement

Neeraj Gupta1547b04ddff3
diff --git a/mobile/lib/emergency/emergency_page.dart b/mobile/lib/emergency/emergency_page.dart
index d219c50834..863e9e0e1d 100644
--- a/mobile/lib/emergency/emergency_page.dart
+++ b/mobile/lib/emergency/emergency_page.dart
@@ -211,8 +211,8 @@ class _EmergencyPageState extends State<EmergencyPage> {
child: SvgPicture.asset(
getEnteColorScheme(context).backdropBase ==
backgroundBaseDark
- ? "assets/icons/legacy-dark.svg"
- : "assets/icons/legacy-light.svg",
+ ? "assets/icons/legacy-light.svg"
+ : "assets/icons/legacy-dark.svg",
width: 156,
height: 152,
),
@@ -221,7 +221,7 @@ class _EmergencyPageState extends State<EmergencyPage> {
context.l10n.legacyPageDesc2,
style: getEnteTextTheme(context).smallMuted,
),
- const SizedBox(height: 8),
+ const SizedBox(height: 16),
ButtonWidget(
buttonType: ButtonType.primary,
labelText: S.of(context).addTrustedContact,
diff --git a/mobile/lib/emergency/other_contact_page.dart b/mobile/lib/emergency/other_contact_page.dart
index 3c8843a22d..a5602c979f 100644
--- a/mobile/lib/emergency/other_contact_page.dart
+++ b/mobile/lib/emergency/other_contact_page.dart
@@ -253,7 +253,7 @@ class _OtherContactPageState extends State<OtherContactPage> {
widget.contact,
ContactState.contactLeft,
);
- Navigator.of(context).pop(true);
+ Navigator.of(context).pop();
} catch (e) {
showGenericErrorDialog(context: context, error: e).ignore();
}