From 97a855ab70ec729a8171b01357e6fcf8e826d639 Mon Sep 17 00:00:00 2001 From: Elham Rababah Date: Thu, 20 May 2021 11:31:47 +0300 Subject: [PATCH] return condition in home page --- lib/screens/home/home_screen.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/screens/home/home_screen.dart b/lib/screens/home/home_screen.dart index dde5ae2a..60414976 100644 --- a/lib/screens/home/home_screen.dart +++ b/lib/screens/home/home_screen.dart @@ -328,8 +328,7 @@ class _HomeScreenState extends State { List patientCards = List(); - //TODO: return back the right condition - if (true) { + if (model.hasVirtualClinic) { patientCards.add(HomePatientCard( backgroundColor: backgroundColors[colorIndex], backgroundIconColor: backgroundIconColors[colorIndex],