From aa5f8c9c18872578a0d7844a2c0d65044eeb425f Mon Sep 17 00:00:00 2001 From: abUwUser Date: Sat, 2 Nov 2024 11:30:35 -0300 Subject: [PATCH 1/2] bulk add: improve text UX and update UI to be more finished --- .../general_collection_manager.dart | 63 +++++++++++-------- 1 file changed, 38 insertions(+), 25 deletions(-) diff --git a/lib/views/image_manager/general_collection_manager.dart b/lib/views/image_manager/general_collection_manager.dart index 0117a80..e5fe4da 100644 --- a/lib/views/image_manager/general_collection_manager.dart +++ b/lib/views/image_manager/general_collection_manager.dart @@ -39,35 +39,48 @@ class _GeneralCollectionManagerScreenState extends State value != null && value.isNotEmpty ? null : "Value is empty", - onChanged: (value) { - widget.collection.name = value; - if(widget.onErrorChange != null) widget.onErrorChange!(value.isEmpty); - }, - ), - ), + Padding( + padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 8), + child: TextFormField( + decoration: const InputDecoration( + labelText: "Name of collection" + ), + enabled: widget.saveCollectionToggle ?? true, + initialValue: widget.collection.name, + validator: (value) => value != null && value.isNotEmpty ? null : "Value is empty", + onChanged: (value) { + widget.collection.name = value; + if(widget.onErrorChange != null) widget.onErrorChange!(value.isEmpty); + }, + ), + ), + ], + ) ], ); } From 7cc4aad80a600d2d8c95ba06bd9905514461ff0e Mon Sep 17 00:00:00 2001 From: abUwUser Date: Sat, 2 Nov 2024 18:13:18 -0300 Subject: [PATCH 2/2] bulk add: change icon color of the expanded tile about collections --- lib/views/image_manager/general_collection_manager.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/views/image_manager/general_collection_manager.dart b/lib/views/image_manager/general_collection_manager.dart index e5fe4da..a3a9184 100644 --- a/lib/views/image_manager/general_collection_manager.dart +++ b/lib/views/image_manager/general_collection_manager.dart @@ -49,11 +49,10 @@ class _GeneralCollectionManagerScreenState extends State