From 034f0a14383e00eeea91f3c4881e794b3337acc4 Mon Sep 17 00:00:00 2001 From: yaso-meth Date: Thu, 25 Jul 2024 15:01:00 +0200 Subject: [PATCH] remove name & email and add username --- .../lib/components/patManAppDrawer.dart | 30 ++----------------- 1 file changed, 3 insertions(+), 27 deletions(-) diff --git a/Frontend/patient_manager/lib/components/patManAppDrawer.dart b/Frontend/patient_manager/lib/components/patManAppDrawer.dart index 58b2fd52..8a5f83bd 100644 --- a/Frontend/patient_manager/lib/components/patManAppDrawer.dart +++ b/Frontend/patient_manager/lib/components/patManAppDrawer.dart @@ -90,12 +90,12 @@ class _PatManAppDrawerState extends State { height: 60, child: widget.logo, ), - const SizedBox(height: 25), + const SizedBox(height: 50), Row( mainAxisSize: MainAxisSize.max, children: [ Text( - "Name: ", + "Username: ", style: TextStyle( fontWeight: FontWeight.bold, color: MzanziInnovationHub.of(context)! @@ -105,31 +105,7 @@ class _PatManAppDrawerState extends State { ), const SizedBox(width: 15), Text( - "${snapshot.data?.fname} ${snapshot.data?.lname}", - style: TextStyle( - fontWeight: FontWeight.bold, - color: MzanziInnovationHub.of(context)! - .theme - .primaryColor(), - ), - ), - ], - ), - Row( - mainAxisSize: MainAxisSize.max, - children: [ - Text( - "Email: ", - style: TextStyle( - fontWeight: FontWeight.bold, - color: MzanziInnovationHub.of(context)! - .theme - .primaryColor(), - ), - ), - const SizedBox(width: 16), - Text( - "${snapshot.data?.email}", + "${snapshot.data?.username}", style: TextStyle( fontWeight: FontWeight.bold, color: MzanziInnovationHub.of(context)!