First install: Move login container up

This commit is contained in:
franzap
2024-11-11 23:18:06 -03:00
parent 7d6c793914
commit 1c2865b5d1
+5 -5
View File
@@ -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(