fix
This commit is contained in:
@@ -6,8 +6,8 @@ android {
|
|||||||
applicationId "com.mermsemr.providers"
|
applicationId "com.mermsemr.providers"
|
||||||
minSdkVersion rootProject.ext.minSdkVersion
|
minSdkVersion rootProject.ext.minSdkVersion
|
||||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||||
versionCode 1027
|
versionCode 1028
|
||||||
versionName "1.0.27"
|
versionName "1.0.28"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
|||||||
@@ -37,13 +37,13 @@ export class MermsLoginPage implements OnInit {
|
|||||||
public platform_is_ios: boolean = false
|
public platform_is_ios: boolean = false
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
public navCtrl: NavController,
|
public navCtrl: NavController,
|
||||||
private alertCtrl: AlertController,
|
private alertCtrl: AlertController,
|
||||||
private loadingCtrl: LoadingController,
|
private loadingCtrl: LoadingController,
|
||||||
/* private mermsServiceProviderService :MermsServiceProviderService,*/
|
/* private mermsServiceProviderService :MermsServiceProviderService,*/
|
||||||
private mermsSessionService :MermsSessionService ,
|
private mermsSessionService: MermsSessionService,
|
||||||
private router: Router
|
private router: Router
|
||||||
) { }
|
) { }
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
}
|
}
|
||||||
@@ -51,12 +51,12 @@ export class MermsLoginPage implements OnInit {
|
|||||||
|
|
||||||
async loginAccount() {
|
async loginAccount() {
|
||||||
|
|
||||||
console.log('MERMSLoginPage::loginAccount()')
|
console.log('MERMSLoginPage::loginAccount()')
|
||||||
this.mermsSessionService.account_token = ''
|
this.mermsSessionService.account_token = ''
|
||||||
const loader = await this.loadingCtrl.create({
|
const loader = await this.loadingCtrl.create({
|
||||||
message: 'Please wait...',
|
message: 'Please wait...',
|
||||||
duration: 3000,
|
duration: 3000,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -76,8 +76,8 @@ export class MermsLoginPage implements OnInit {
|
|||||||
this.password === ''
|
this.password === ''
|
||||||
) {
|
) {
|
||||||
this.showAlert(
|
this.showAlert(
|
||||||
'Invalid Login',
|
'Error Login',
|
||||||
'Enter username(email) and password to login'
|
'Enter valid username(email) and password to login'
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
loader.present()
|
loader.present()
|
||||||
@@ -93,9 +93,9 @@ export class MermsLoginPage implements OnInit {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
this.completeLogin();
|
||||||
}
|
}
|
||||||
this.completeLogin();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
completeLogin() {
|
completeLogin() {
|
||||||
|
|||||||
Reference in New Issue
Block a user