style: rename platform to bridge (#452)

* style: rename platform to bridge

* chore: tsc
This commit is contained in:
Baptiste Grob
2020-08-25 16:56:32 +02:00
committed by GitHub
parent b2511455dd
commit da78399567
11 changed files with 45 additions and 31 deletions

View File

@@ -11,7 +11,7 @@ import {
ThemeManager
} from '@/services';
import { AppState } from '@/ui_models/app_state';
import { Platform } from '@/services/platform';
import { Bridge } from '@/services/bridge';
type AppManagerChangeCallback = () => void
@@ -29,7 +29,7 @@ export class ApplicationGroup {
$compile: ng.ICompileService,
$rootScope: ng.IRootScopeService,
$timeout: ng.ITimeoutService,
private platform: Platform
private bridge: Bridge
) {
this.$compile = $compile;
this.$timeout = $timeout;
@@ -71,7 +71,7 @@ export class ApplicationGroup {
this.$timeout,
scope,
this.onApplicationDeinit,
this.platform
this.bridge
);
const appState = new AppState(
this.$rootScope,