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,