Polished
This commit is contained in:
@@ -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;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user