fix header

merge-requests/744/head
Elham Rababah 5 years ago
parent b4305a00ae
commit 78903043d9

@ -40,7 +40,7 @@ class _LaboratoryResultPageState extends State<LaboratoryResultPage> {
isShowAppBar: true,
appBar: PatientProfileAppBar(
widget.patient,
isInpatient:widget.isInpatient,
isFromLabResult: true,
appointmentDate: widget.patientLabOrders.orderDate,
),

@ -54,7 +54,6 @@ class _LabsHomePageState extends State<LabsHomePage> {
isShowAppBar: true,
appBar: PatientProfileAppBar(
patient,
isInpatient: isInpatient,
),
body: SingleChildScrollView(

@ -551,6 +551,6 @@ class PatientProfileAppBar extends StatelessWidget
@override
Size get preferredSize =>
Size(double.maxFinite, height == 0
? isInpatient ? 160 : isAppointmentHeader ? 290 : 170
? isInpatient ? (isFromLabResult?170:175) : isAppointmentHeader ? 290 : 175
: height);
}

Loading…
Cancel
Save