[mob] UX improvement

This commit is contained in:
Neeraj Gupta 2024-12-10 20:37:44 +05:30
parent 815d9e8972
commit 1547b04ddf
2 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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();
}