Fixes for Upgrade, ability to pull latest sidequest app from site, added permissions, added additional environmental support.

This commit is contained in:
Nathanael Anderson
2024-03-26 23:56:30 -06:00
parent d250bba378
commit 112546c13b
18 changed files with 556 additions and 257 deletions
@@ -35,9 +35,9 @@ interface LogCatEntry {
styleUrls: ['./header.component.scss'],
})
export class HeaderComponent implements OnInit {
@ViewChild('header') header;
// @ViewChild('header') header;
@ViewChild('bookmarksModal') bookmarksModal;
@ViewChild('beatOnModal') beatOnModal;
// @ViewChild('beatOnModal') beatOnModal;
@ViewChild('mainLogo') mainLogo;
@ViewChild('safeModal') safeModal;
@ViewChild('manageFavs') manageFavs;
@@ -94,6 +94,8 @@ export class HeaderComponent implements OnInit {
currentLogCat: LogCatEntry[] = [];
isStarted: boolean;
showAddFavourite: boolean;
protected headerClass: string;
protected headerText: string;
constructor(
public adbService: AdbClientService,
public appService: AppService,
@@ -111,6 +113,9 @@ export class HeaderComponent implements OnInit {
this.resetFavourites('fileFavourites');
this.resetFavourites('commandFavourites');
this.appService.headerComponent = this;
this.headerClass = environment.header?.color || "";
this.headerText = environment.header?.text || "";
console.log('Header: ' + this.headerClass + ' ' + this.headerText);
}
doBack() {
if (