ui: revert to sync style

This commit is contained in:
Aaron Greenspan
2021-01-20 13:04:32 -07:00
committed by Aiden McClelland
parent 833941b031
commit e96ef695a3
8 changed files with 72 additions and 91 deletions

View File

@@ -3,7 +3,7 @@ import { ServerModel, ServerStatus } from './models/server-model'
import { Storage } from '@ionic/storage'
import { SyncDaemon } from './services/sync.service'
import { AuthService, AuthState } from './services/auth.service'
import { GlobalAlertsNotifier } from './services/startup-alerts.notifier'
import { StartupAlertsNotifier } from './services/startup-alerts.notifier'
import { ApiService } from './services/api/api.service'
import { Router } from '@angular/router'
import { BehaviorSubject, Observable } from 'rxjs'
@@ -66,7 +66,7 @@ export class AppComponent {
private readonly alertCtrl: AlertController,
private readonly loader: LoaderService,
private readonly emver: Emver,
private readonly globalAlertsNotifier: GlobalAlertsNotifier,
private readonly globalAlertsNotifier: StartupAlertsNotifier,
readonly splitPane: SplitPaneTracker,
) {
// set dark theme
@@ -81,7 +81,6 @@ export class AppComponent {
await this.storage.ready()
await this.authService.restoreCache()
await this.emver.init()
this.globalAlertsNotifier.init()
this.authService.listen({
[AuthState.VERIFIED]: async () => {