mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: update checklist type option data (#1563)
Co-authored-by: nathan <nathan@appflowy.io>
This commit is contained in:
parent
350c55e71d
commit
d487820963
@ -166,7 +166,7 @@ class _ChecklistOptionCellState extends State<_ChecklistOptionCell> {
|
|||||||
},
|
},
|
||||||
onUpdated: (updatedOption) {
|
onUpdated: (updatedOption) {
|
||||||
context.read<ChecklistCellEditorBloc>().add(
|
context.read<ChecklistCellEditorBloc>().add(
|
||||||
ChecklistCellEditorEvent.updateOption(widget.option.data),
|
ChecklistCellEditorEvent.updateOption(updatedOption),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
showOptions: false,
|
showOptions: false,
|
||||||
|
@ -42,7 +42,7 @@ class _SliverChecklistPrograssBarDelegate
|
|||||||
extends SliverPersistentHeaderDelegate {
|
extends SliverPersistentHeaderDelegate {
|
||||||
_SliverChecklistPrograssBarDelegate();
|
_SliverChecklistPrograssBarDelegate();
|
||||||
|
|
||||||
double fixHeight = 54;
|
double fixHeight = 60;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(
|
Widget build(
|
||||||
@ -69,7 +69,7 @@ class _SliverChecklistPrograssBarDelegate
|
|||||||
},
|
},
|
||||||
),
|
),
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(top: 10.0),
|
padding: const EdgeInsets.only(top: 6.0),
|
||||||
child: ChecklistPrograssBar(percent: state.percent),
|
child: ChecklistPrograssBar(percent: state.percent),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user