Heatmap solver is now a worker

- Android app now requests root (purpose still unknown)
- Android app starts on boot
- Frontend is now a PWA (purpose still unknown)
This commit is contained in:
2020-10-28 15:06:21 +01:00
parent 056195a188
commit b3b3d9d9c4
30 changed files with 357 additions and 78 deletions

View File

@@ -0,0 +1,22 @@
import { AfterContentInit, Component, OnDestroy, OnInit } from '@angular/core';
import { APIService } from '../api.service';
@Component({
selector: 'app-admin',
templateUrl: './admin.component.html',
styleUrls: ['./admin.component.scss']
})
export class AdminComponent implements AfterContentInit, OnDestroy {
constructor(public api: APIService) { }
ngAfterContentInit(): void {
this.api.showFilter = false;
console.log(this.api.showFilter);
}
ngOnDestroy(): void {
this.api.showFilter = true;
}
}