Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into main
  • Loading branch information
nidhikachhawa24 committed May 30, 2024
2 parents 397769e + bf8a385 commit 8e41363
Show file tree
Hide file tree
Showing 55 changed files with 135 additions and 135 deletions.
3 changes: 2 additions & 1 deletion src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,12 @@ export function initializeFactory(init: DbService) {
})

export class AppModule {
constructor(private translate: TranslateService) {
constructor(private translate: TranslateService, private storage: StorageService) {
this.setDefaultLanguage();
}

private setDefaultLanguage() {
this.storage.setData('lang', 'hi');
this.translate.setDefaultLang('hi');
this.translate.use("hi");
}
Expand Down
3 changes: 1 addition & 2 deletions src/app/pages/home/home.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@ export class HomePage implements OnInit, OnTabViewWillEnter, OnDestroy {
this.serverError = false;
this.showSheenAnimation = true;
// try {
// let lang = 'en';//await this.storage.getData('lang')
let lang = await this.storage.getData('lang');
let lang = await this.storage.getData('lang')
let content = await this.configService.getAllContent(req, lang);
this.mappUIContentList(content);
// }
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions www/1227.62126f61607726d4.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion www/1227.caeaa0e1fff748b5.js

This file was deleted.

1 change: 1 addition & 0 deletions www/1577.e38109e3217876c6.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion www/1577.f78a0447c8f41a1b.js

This file was deleted.

Large diffs are not rendered by default.

Loading

0 comments on commit 8e41363

Please sign in to comment.