chat primera face

This commit is contained in:
Juan Felipe Duarte
2023-05-03 17:07:26 -05:00
parent f1571e6374
commit 1a0e33328e
16 changed files with 785 additions and 95 deletions
+8 -5
View File
@@ -61,9 +61,10 @@ class _CalendarScreenState extends State<CalendarScreen> {
super.initState();
if (_events == null) {
Event.getEventsAllById(uid ?? "").then((value) => setState(() {
_events = value;
}));
Event.getEventsAllByIdStatus(uid ?? "", 'aprobado')
.then((value) => setState(() {
_events = value;
}));
}
}
@@ -293,14 +294,16 @@ class _CalendarScreenState extends State<CalendarScreen> {
'',
'',
0,
0)
0,
'aprobado')
.then((value) {
Navigator.pop(context);
_titleController.text = '';
_descriptionController.text = '';
});
Event.getEventsAllById(uid ?? "").then(
Event.getEventsAllByIdStatus(uid ?? "", 'aprobado')
.then(
(value) => setState(() {
_events = value;
}),