feat: Update category server version handling in createCategory and CategoryDialog

This commit is contained in:
2026-05-22 11:26:41 +02:00
parent 2069de55ae
commit a31cc12b7e
2 changed files with 10 additions and 1 deletions
+1
View File
@@ -884,6 +884,7 @@ class _CategoryDialogState extends State<_CategoryDialog> {
final Category newCategory = Category(
id: widget.category?.id,
name: name,
serverVersion: widget.category?.serverVersion ?? 0,
updatedAt: DateTime.now(),
colorValue: _selectedColor?.toARGB32(),
iconCodePoint: _selectedIcon?.codePoint,