From 1c2865b5d14036d1a8eaddecfb2de98fd45c409f Mon Sep 17 00:00:00 2001 From: franzap <_@franzap.com> Date: Mon, 11 Nov 2024 23:18:06 -0300 Subject: [PATCH] First install: Move login container up --- lib/widgets/install_button.dart | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/widgets/install_button.dart b/lib/widgets/install_button.dart index 4e9f76c..6216fba 100644 --- a/lib/widgets/install_button.dart +++ b/lib/widgets/install_button.dart @@ -177,6 +177,11 @@ class InstallAlertDialog extends ConsumerWidget { fromNpub: user?.npub ?? kFranzapNpub, toNpub: app.signer.value!.npub, ), + if (user == null) + LoginContainer( + minimal: true, + labelText: 'Log in to view your own web of trust', + ), if (app.latestMetadata?.urls.isNotEmpty ?? false) Padding( padding: const EdgeInsets.only(top: 16, bottom: 16), @@ -203,11 +208,6 @@ class InstallAlertDialog extends ConsumerWidget { ), ), actions: [ - if (user == null) - LoginContainer( - minimal: true, - labelText: 'Log in to view your own web of trust', - ), Padding( padding: const EdgeInsets.symmetric(vertical: 10), child: TextButton(