This commit is contained in:
ivan gomes
2021-11-30 10:23:46 +01:00
parent 9c70c23919
commit b2e55317b5
7 changed files with 22 additions and 110 deletions
+7 -16
View File
@@ -11,12 +11,7 @@ import { NGX_MAT_DATE_FORMATS } from '@angular-material-components/datetime-pick
import { SqliteService } from 'src/app/services/sqlite.service';
import { BackgroundService } from 'src/app/services/background.service';
import { ScreenOrientation } from '@ionic-native/screen-orientation/ngx';
<<<<<<< HEAD
import { Directory, Filesystem } from '@capacitor/filesystem';
=======
import { StorageService } from 'src/app/services/storage.service';
>>>>>>> 6a912b740d97159664c5fe5dff07ac378b028771
const CUSTOM_DATE_FORMATS: NgxMatDateFormats = {
@@ -48,22 +43,18 @@ export class AppComponent {
private screenOrientation: ScreenOrientation,
private sqliteservice: SqliteService,
private backgroundservice: BackgroundService,
<<<<<<< HEAD
=======
private storageservice: StorageService
>>>>>>> 6a912b740d97159664c5fe5dff07ac378b028771
) {
this.createCacheFolder()
// this.createCacheFolder()
this.initializeApp();
}
async createCacheFolder(){
await Filesystem.mkdir({
directory: Directory.Cache,
path: `CACHED-IMG`
})
}
// async createCacheFolder(){
// await Filesystem.mkdir({
// directory: Directory.Cache,
// path: `CACHED-IMG`
// })
// }
initializeApp() {
this.platform.ready().then(() => {