From aab4f6d44572ec5c447481203d07a55dc4bffa22 Mon Sep 17 00:00:00 2001 From: stopflock Date: Wed, 17 Dec 2025 16:49:43 -0600 Subject: [PATCH] Add new tags to top of list when editing profiles --- lib/screens/profile_editor.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/screens/profile_editor.dart b/lib/screens/profile_editor.dart index 256ec95..436b54f 100644 --- a/lib/screens/profile_editor.dart +++ b/lib/screens/profile_editor.dart @@ -126,7 +126,7 @@ class _ProfileEditorState extends State { style: const TextStyle(fontWeight: FontWeight.bold, fontSize: 16)), if (widget.profile.editable) TextButton.icon( - onPressed: () => setState(() => _tags.add(const MapEntry('', ''))), + onPressed: () => setState(() => _tags.insert(0, const MapEntry('', ''))), icon: const Icon(Icons.add), label: Text(locService.t('profileEditor.addTag')), ),