From 1b574d31930da44efc9440e3176760b1bd91b084 Mon Sep 17 00:00:00 2001 From: Greg Fodor <gfodor@gmail.com> Date: Sun, 30 Sep 2018 02:28:20 +0000 Subject: [PATCH] Rename RoomEntryManager --- src/hub.js | 4 ++-- src/{room-entry-manager.js => scene-entry-manager.js} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/{room-entry-manager.js => scene-entry-manager.js} (99%) diff --git a/src/hub.js b/src/hub.js index 7dc526b7d..3b648d6aa 100644 --- a/src/hub.js +++ b/src/hub.js @@ -76,7 +76,7 @@ import LinkChannel from "./utils/link-channel"; import { connectToReticulum } from "./utils/phoenix-utils"; import { disableiOSZoom } from "./utils/disable-ios-zoom"; import { resolveMedia } from "./utils/media-utils"; -import RoomEntryManager from "./room-entry-manager"; +import SceneEntryManager from "./scene-entry-manager"; import "./systems/nav"; import "./systems/personal-space-bubble"; @@ -224,7 +224,7 @@ const onReady = async () => { return null; }; - const entryManager = new RoomEntryManager(hubChannel); + const entryManager = new SceneEntryManager(hubChannel); remountUI({ enterScene: entryManager.enterScene, exitScene: entryManager.exitScene }); const platformUnsupportedReason = getPlatformUnsupportedReason(); diff --git a/src/room-entry-manager.js b/src/scene-entry-manager.js similarity index 99% rename from src/room-entry-manager.js rename to src/scene-entry-manager.js index 4b127e001..a2f67316e 100644 --- a/src/room-entry-manager.js +++ b/src/scene-entry-manager.js @@ -16,7 +16,7 @@ function requestFullscreen() { if (screenfull.enabled && !screenfull.isFullscreen) screenfull.request(); } -export default class RoomEntryManager { +export default class SceneEntryManager { constructor(hubChannel) { this.hubChannel = hubChannel; this.store = window.APP.store; -- GitLab