Skip to content

Commit

Permalink
Merge pull request #471 from GSuma21/release-2.6.1
Browse files Browse the repository at this point in the history
Release 2.6.1
  • Loading branch information
kiranharidas187 authored Apr 5, 2024
2 parents 6cdef22 + 3df650d commit 8b2a06a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/app/core/services/profile/profile.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ export class ProfileService {
this.loaderService.stopLoader();
this._location.back();
(showToast)?this.toast.showToast(data.message, "success"):null;
}
return true;
}
catch (error) {
this.loaderService.stopLoader();
}
Expand Down
8 changes: 5 additions & 3 deletions src/app/pages/language/language.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ export class LanguagePage implements OnInit {
}

onSubmit(){
this.setLanguage(this.selectedLanguage);
let showProfileUpdateToast = false;
this.profile.profileUpdate({preferred_language:this.selectedLanguage}, showProfileUpdateToast).then(()=>{
this.toast.showToast("LANGUAGE_CHANGED_SUCCESSFULLY","success");
this.profile.profileUpdate({preferred_language:this.selectedLanguage}, showProfileUpdateToast).then((result)=>{
if(result){
this.setLanguage(this.selectedLanguage);
this.toast.showToast("LANGUAGE_CHANGED_SUCCESSFULLY","success");
}
})
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ ion-popover {
.cell-text{
padding: 0px 2px;
overflow: hidden;
max-width: 150px;
max-width: 200px;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
Expand Down

0 comments on commit 8b2a06a

Please sign in to comment.