mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
Remove sqlite method from app component
This commit is contained in:
@@ -60,16 +60,6 @@ export class AppComponent {
|
|||||||
console.log('Orientation locked')
|
console.log('Orientation locked')
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.platform.is('desktop') || this.platform.is('mobileweb')) {
|
|
||||||
|
|
||||||
} else {
|
|
||||||
try {
|
|
||||||
this.sqliteservice.databaseConn();
|
|
||||||
} catch (error) {
|
|
||||||
console.log("Error creating local database: ", error)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
this.storageservice.get('networkCheckStore').then((network) => {
|
this.storageservice.get('networkCheckStore').then((network) => {
|
||||||
if(network === 'online') {
|
if(network === 'online') {
|
||||||
console.log('Network app componente check', network)
|
console.log('Network app componente check', network)
|
||||||
|
|||||||
Reference in New Issue
Block a user