From 5cdb62ca1c72c3a7f34f8abb93a17aa6e1ccbaeb Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 18 Sep 2025 17:55:34 -0500 Subject: [PATCH] Improve "Add Account" button in Nostr Settings UI --- src/pages/NostrSettings.tsx | 41 +++++++++++++++---------------------- 1 file changed, 16 insertions(+), 25 deletions(-) diff --git a/src/pages/NostrSettings.tsx b/src/pages/NostrSettings.tsx index d6dfe24f..59c495c1 100644 --- a/src/pages/NostrSettings.tsx +++ b/src/pages/NostrSettings.tsx @@ -1,4 +1,4 @@ -import { ArrowLeft, Wifi, Users, UserPlus, LogOut, Trash2, User } from 'lucide-react'; +import { ArrowLeft, Wifi, Users, UserPlus, LogOut, Trash2, User, Plus } from 'lucide-react'; import { Button } from '@/components/ui/button'; import { Label } from '@/components/ui/label'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; @@ -107,12 +107,10 @@ export function NostrSettings() { <> {/* Account List - Joined Together */}
- {authors.map((account, index) => ( + {authors.map((account) => (
))} -
- {/* Add Account Actions */} -
-
- - + {/* Add Account Button - Integrated into the list */} +
setShowLoginDialog(true)} + > +
+ +
+
+

+ Add Account +

+