File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 155155 97C146E61CF9000F007C117D /* Project object */ = {
156156 isa = PBXProject;
157157 attributes = {
158- LastUpgradeCheck = 1020 ;
158+ LastUpgradeCheck = 1300 ;
159159 ORGANIZATIONNAME = "";
160160 TargetAttributes = {
161161 97C146ED1CF9000F007C117D = {
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<Scheme
3- LastUpgradeVersion = " 1020 "
3+ LastUpgradeVersion = " 1300 "
44 version = " 1.3" >
55 <BuildAction
66 parallelizeBuildables = " YES"
Original file line number Diff line number Diff line change @@ -60,10 +60,13 @@ class _CategoryInfoPageState extends State<CategoryInfoPage> {
6060 }
6161
6262 Future _updateCategory (CategoryItem item) async {
63+ int colorId = viewModel.selectedColor;
64+ int iconId = viewModel.selectedIcon;
6365 return context.read <HomeViewModel >().updateCategory (CategoriesCompanion (
64- name: d.Value (item.name! ),
65- iconId: d.Value (item.iconId),
66- colorId: d.Value (item.colorId)));
66+ id: d.Value (item.id),
67+ name: d.Value (_controller.text),
68+ iconId: d.Value (iconId),
69+ colorId: d.Value (colorId)));
6770 }
6871
6972 @override
You can’t perform that action at this time.
0 commit comments