mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-11-01 18:05:47 +01:00
For now disable compat check
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import { Inject, Injectable } from '@angular/core';
|
import { Inject, Injectable } from '@angular/core';
|
||||||
import { HISTORY } from '@ng-web-apis/common';
|
import { WA_HISTORY } from '@ng-web-apis/common';
|
||||||
import { HasFailed } from 'picsur-shared/dist/types/failable';
|
import { HasFailed } from 'picsur-shared/dist/types/failable';
|
||||||
import { InfoService } from '../../services/api/info.service';
|
import { InfoService } from '../../services/api/info.service';
|
||||||
import { Logger } from '../../services/logger/logger.service';
|
import { Logger } from '../../services/logger/logger.service';
|
||||||
@@ -16,9 +16,10 @@ export class CompatibilityService {
|
|||||||
private readonly infoService: InfoService,
|
private readonly infoService: InfoService,
|
||||||
private readonly errorService: ErrorService,
|
private readonly errorService: ErrorService,
|
||||||
private readonly dialogService: DialogService,
|
private readonly dialogService: DialogService,
|
||||||
@Inject(HISTORY) private readonly history: History,
|
@Inject(WA_HISTORY) private readonly history: History,
|
||||||
) {
|
) {
|
||||||
this.checkCompatibility().catch(this.logger.error);
|
// TODO: Better compatibility check
|
||||||
|
//this.checkCompatibility().catch(this.logger.error);
|
||||||
}
|
}
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
||||||
|
|||||||
Reference in New Issue
Block a user