fixing clinic name in app reopening

merge-requests/154/head
hussam al-habibeh 4 years ago
parent 0444d6803c
commit b6d2cdb1db

@ -99,10 +99,8 @@ class _DashboardScreenState extends State<DashboardScreen> {
margin: EdgeInsets.only(left: 10, top: 10),
child: AppText(
authProvider.selectedClinicName != null
? //"Hussam Real"
authProvider.selectedClinicName
? authProvider.selectedClinicName
: authProvider.doctorProfile.clinicDescription,
//
fontWeight: FontWeight.bold,
fontSize: SizeConfig.textMultiplier * 2.5,
),

@ -343,7 +343,6 @@ class _VerifyAccountState extends State<VerifyAccount> {
verifyAccountFormValue['digit2'] +
verifyAccountFormValue['digit3'] +
verifyAccountFormValue['digit4'];
print(activationCode);
int projectID = await sharedPref.getInt(PROJECT_ID);
@ -364,7 +363,6 @@ class _VerifyAccountState extends State<VerifyAccount> {
};
authProv.memberCheckActivationCodeNew(model).then((res) {
//changeLoadingStata(false);
if (res['MessageStatus'] == 1) {
sharedPref.setString(TOKEN, res['AuthenticationTokenID']);
if (res['List_DoctorProfile'] != null) {

Loading…
Cancel
Save