|
|
|
|
@ -438,7 +438,7 @@ class _HomeScreenState extends State<HomeScreen> {
|
|
|
|
|
));
|
|
|
|
|
changeColorIndex();
|
|
|
|
|
|
|
|
|
|
if (!Utils.isVidaPlusInPatientProject(projectsProvider, model.doctorProfile!.projectID!)) {
|
|
|
|
|
if (model.doctorProfile !=null && !Utils.isVidaPlusInPatientProject(projectsProvider, model.doctorProfile!.projectID!)) {
|
|
|
|
|
patientCards.add(HomePatientCard(
|
|
|
|
|
gradient: backgroundColors[colorIndex],
|
|
|
|
|
backgroundIconColor: backgroundIconColors[colorIndex],
|
|
|
|
|
@ -597,6 +597,8 @@ class _HomeScreenState extends State<HomeScreen> {
|
|
|
|
|
}
|
|
|
|
|
void _showErrorBottomSheet(BuildContext context, String errorMessage) {
|
|
|
|
|
showModalBottomSheet(
|
|
|
|
|
isDismissible:false,
|
|
|
|
|
enableDrag:false,
|
|
|
|
|
context: context,
|
|
|
|
|
shape: RoundedRectangleBorder(
|
|
|
|
|
borderRadius: BorderRadius.vertical(top: Radius.circular(20)),
|
|
|
|
|
|