From 33f032b6c40aea1f95bd7992ea87fdf4d602e860 Mon Sep 17 00:00:00 2001 From: Elham Rababah Date: Mon, 28 Jun 2021 13:05:47 +0300 Subject: [PATCH] return from part on header --- .../referral/my-referral-detail-screen.dart | 61 +++++++++---------- 1 file changed, 30 insertions(+), 31 deletions(-) diff --git a/lib/screens/patients/profile/referral/my-referral-detail-screen.dart b/lib/screens/patients/profile/referral/my-referral-detail-screen.dart index ffcd871a..b20b29bb 100644 --- a/lib/screens/patients/profile/referral/my-referral-detail-screen.dart +++ b/lib/screens/patients/profile/referral/my-referral-detail-screen.dart @@ -174,37 +174,36 @@ class MyReferralDetailScreen extends StatelessWidget { child: Column( children: [ - //todo Elham* return this - // Row( - // mainAxisAlignment: - // MainAxisAlignment.start, - // children: [ - // AppText( - // TranslationBase.of(context) - // .referredFrom, - // fontFamily: 'Poppins', - // fontWeight: FontWeight.w600, - // fontSize: 1.7 * - // SizeConfig.textMultiplier, - // color: Color(0XFF575757), - // ), - // AppText( - // referralPatient.projectID == model.doctorProfile.projectID - // ? TranslationBase.of( - // context) - // .sameBranch - // : TranslationBase.of( - // context) - // .otherBranch, - // fontFamily: 'Poppins', - // fontWeight: FontWeight.w700, - // fontSize: 1.8 * - // SizeConfig - // .textMultiplier, - // color: Color(0XFF2E303A), - // ), - // ], - // ), + Row( + mainAxisAlignment: + MainAxisAlignment.start, + children: [ + AppText( + TranslationBase.of(context) + .referredFrom, + fontFamily: 'Poppins', + fontWeight: FontWeight.w600, + fontSize: 1.7 * + SizeConfig.textMultiplier, + color: Color(0XFF575757), + ), + AppText( + referralPatient.targetProjectId ==referralPatient.sourceProjectId + ? TranslationBase.of( + context) + .sameBranch + : TranslationBase.of( + context) + .otherBranch, + fontFamily: 'Poppins', + fontWeight: FontWeight.w700, + fontSize: 1.8 * + SizeConfig + .textMultiplier, + color: Color(0XFF2E303A), + ), + ], + ), Row( mainAxisAlignment: MainAxisAlignment.start,