mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
[mob] UX improvement
This commit is contained in:
parent
815d9e8972
commit
1547b04ddf
@ -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,
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user