Merge branch 'hot_fix' into 'diplomatic-quarter-live'

fix home issues

See merge request Cloud_Solution/diplomatic-quarter!192
dq_and_master
Mohammad Aljammal 4 years ago
commit ca1e496481

@ -351,7 +351,7 @@ const Map localizedValues = {
"en": "Remove this member?",
"ar": "إزالة ملف العضو؟"
},
"MyMedicalFile": {"en": "My Medical File", 'ar': 'ملف الطبي الالكتروني'},
"MyMedicalFile": {"en": "My Medical File", 'ar': 'ملف الطبي'},
"myMedicalFileSubTitle": {
"en": "All your medical records",
'ar': 'جميع سجلاتك الطبية'

@ -19,7 +19,6 @@ class AuthenticatedUserObject {
var userData = await sharedPref.getObject(USER_PROFILE);
if (userData != null) user = AuthenticatedUser.fromJson(userData);
}
this.isLogin = user != null;
}
logout() async {

@ -208,7 +208,7 @@ class _HomePageState extends State<HomePage> {
children: <Widget>[
Row(
children: <Widget>[
if (model.user != null)
if (model.user != null && model.isLogin)
Expanded(
child: Column(
crossAxisAlignment:

@ -100,7 +100,8 @@ class LineChartCurvedState extends State<LineChartCurved> {
color: Colors.black,
fontSize: 12,
),
margin: 10,
margin: 22,
rotateAngle:-65,
getTitles: (value) {
print(value);
DateTime date = DateUtil.convertStringToDate(widget.labResult[value.toInt()].verifiedOnDateTime);

Loading…
Cancel
Save