Update to Angular 9

This commit is contained in:
Nathanael Anderson
2024-02-22 15:00:32 -06:00
parent 65d34322fe
commit b4721d466e
9 changed files with 2125 additions and 688 deletions
+3 -3
View File
@@ -14,9 +14,9 @@ import { environment } from '../environments/environment';
styleUrls: ['./app.component.scss'],
})
export class AppComponent implements OnInit, AfterViewInit {
@ViewChild('spinner', { static: false }) spinner;
@ViewChild('status', { static: false }) status;
@ViewChild('webview', { static: false }) webview;
@ViewChild('spinner') spinner;
@ViewChild('status') status;
@ViewChild('webview') webview;
helpStatus: string;
extraHelpStatus: string;
devMode: boolean;
+3 -3
View File
@@ -22,9 +22,9 @@ declare let M;
styleUrls: ['./files.component.scss'],
})
export class FilesComponent implements OnInit {
@ViewChild('filesModal', { static: false }) filesModal;
@ViewChild('fixedAction', { static: false }) fixedAction;
@ViewChild('downloadMediaModal', { static: false }) downloadMediaModal;
@ViewChild('filesModal') filesModal;
@ViewChild('fixedAction') fixedAction;
@ViewChild('downloadMediaModal') downloadMediaModal;
@ViewChild('mkDirModal', { static: true }) mkDirModal;
files: FileFolderListing[] = [];
selectedFiles: FileFolderListing[] = [];
@@ -35,12 +35,12 @@ interface LogCatEntry {
styleUrls: ['./header.component.scss'],
})
export class HeaderComponent implements OnInit {
@ViewChild('header', { static: false }) header;
@ViewChild('bookmarksModal', { static: false }) bookmarksModal;
@ViewChild('beatOnModal', { static: false }) beatOnModal;
@ViewChild('mainLogo', { static: false }) mainLogo;
@ViewChild('safeModal', { static: false }) safeModal;
@ViewChild('manageFavs', { static: false }) manageFavs;
@ViewChild('header') header;
@ViewChild('bookmarksModal') bookmarksModal;
@ViewChild('beatOnModal') beatOnModal;
@ViewChild('mainLogo') mainLogo;
@ViewChild('safeModal') safeModal;
@ViewChild('manageFavs') manageFavs;
ConnectionStatus = ConnectionStatus;
folder = FolderType;
isAlive = true;
@@ -13,7 +13,7 @@ import { PackageService } from './package.service';
styleUrls: ['./packages.component.scss'],
})
export class PackagesComponent implements OnInit {
@ViewChild('appSettingsModal', { static: false }) appSettingsModal;
@ViewChild('appSettingsModal') appSettingsModal;
isLoadingApp = false;
folder = FolderType;
currentPackage: any = { package: { packageName: '', name: '', icon: '' }, versionCode: 0 };