This commit is contained in:
warlock
2022-03-05 18:48:18 +05:30
parent 7f50983e11
commit 0272b2d1fd
53 changed files with 2233 additions and 440 deletions

View File

@@ -161,7 +161,9 @@ class _NewCategoryState extends State<NewCategory> {
}
var hex = '#${pickerColor.value.toRadixString(16)}';
await User.UserOperations.addCategory(catName, hex, productive);
Navigator.of(context).pop();
Navigator.of(context).popUntil((route){
return route.isFirst;
});
}
}