Saving update, bullet update, UI update

This commit is contained in:
2025-04-07 14:52:23 +02:00
parent b1ef6f5e9c
commit 07bc9d8157
2 changed files with 214 additions and 75 deletions
+2 -1
View File
@@ -21,6 +21,7 @@ class _BookScreenState extends State<BookScreen> with WidgetsBindingObserver {
Color _bulletColor = Colors.blue; // default fallback
Map<String, bool> _folderTypes = {}; // true = tournament, false = training
String _folderFilter = 'all';
bool isRenameEnabled = false;
@override
void initState() {
@@ -264,7 +265,7 @@ List<String> _filteredFolderNames() {
// Rename folder
Future<void> _renameFolder(String oldFolderName) async {
final newNameController = TextEditingController();
bool isRenameEnabled = false;
bool isTournament = _folderTypes[oldFolderName] == true;
final result = await showDialog<Map<String, dynamic>>(