toast msg top

MOHEMM-Q3-DEV-LATEST
enadhilal 4 years ago
parent bb6f606443
commit f96cf769a2

@ -216,7 +216,7 @@ export class CommonService {
const toast = await this.toastController.create({ const toast = await this.toastController.create({
message: message, message: message,
showCloseButton: true, showCloseButton: true,
position: 'middle', position: 'top',
duration: 2000, duration: 2000,
closeButtonText: this.ts.trPK('general', 'close') closeButtonText: this.ts.trPK('general', 'close')
}); });
@ -235,7 +235,7 @@ export class CommonService {
const toast = await this.toastController.create({ const toast = await this.toastController.create({
message: message, message: message,
showCloseButton: true, showCloseButton: true,
position: 'middle', position: 'top',
duration: 2000, duration: 2000,
color: 'danger', color: 'danger',
closeButtonText: this.ts.trPK('general', 'close') closeButtonText: this.ts.trPK('general', 'close')
@ -246,7 +246,7 @@ export class CommonService {
const toast = await this.toastController.create({ const toast = await this.toastController.create({
message: message, message: message,
showCloseButton: true, showCloseButton: true,
position: 'middle', position: 'top',
duration: 2000, duration: 2000,
color: 'success', color: 'success',
closeButtonText: this.ts.trPK('general', 'close') closeButtonText: this.ts.trPK('general', 'close')

@ -27,8 +27,8 @@ export class ConnectorService {
public static retryTimes = 0; public static retryTimes = 0;
public static timeOut = 180 * 1000; public static timeOut = 180 * 1000;
// public static host = 'https://uat.hmgwebservices.com/'; public static host = 'https://uat.hmgwebservices.com/';
public static host = 'https://hmgwebservices.com/'; // public static host = 'https://hmgwebservices.com/';
constructor(public httpClient: HttpClient, constructor(public httpClient: HttpClient,
public cs: CommonService, public cs: CommonService,

Loading…
Cancel
Save