fix build version

This commit is contained in:
Peter Maquiran
2022-12-22 15:24:48 +01:00
parent 8a176e684f
commit 27ad665977
8 changed files with 70 additions and 6 deletions
+4
View File
@@ -15,6 +15,7 @@ import { MessageModel } from './models/beast-orm';
import { InativityService } from "src/app/services/inativity.service";
import { ThemeService } from 'src/app/services/theme.service';
import { environment } from 'src/environments/environment';
import { Storage } from '@ionic/storage';
const CUSTOM_DATE_FORMATS: NgxMatDateFormats = {
parse: {
@@ -48,10 +49,13 @@ export class AppComponent {
private storageservice: StorageService,
private InativityService: InativityService,
public ThemeService: ThemeService,
private storage: Storage,
) {
// this.createCacheFolder()
this.initializeApp();
console.log('version: '+ environment.version)
this.storage.set('version', environment.version).then(() => {})
}
// async createCacheFolder(){