From 19e5d310e06bf4f2dffa0f7d9cd031e7cc940c27 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 14 Aug 2020 14:33:13 +0200 Subject: [PATCH] move avatar one level lower because we'll need it in the session picker --- src/domain/{session => }/avatar.js | 0 src/domain/session/room/RoomViewModel.js | 2 +- src/domain/session/room/timeline/tiles/MessageTile.js | 2 +- src/domain/session/roomlist/RoomTileViewModel.js | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename src/domain/{session => }/avatar.js (100%) diff --git a/src/domain/session/avatar.js b/src/domain/avatar.js similarity index 100% rename from src/domain/session/avatar.js rename to src/domain/avatar.js diff --git a/src/domain/session/room/RoomViewModel.js b/src/domain/session/room/RoomViewModel.js index 12c4307a..c29a4cc8 100644 --- a/src/domain/session/room/RoomViewModel.js +++ b/src/domain/session/room/RoomViewModel.js @@ -15,7 +15,7 @@ limitations under the License. */ import {TimelineViewModel} from "./timeline/TimelineViewModel.js"; -import {avatarInitials, getIdentifierColorNumber} from "../avatar.js"; +import {avatarInitials, getIdentifierColorNumber} from "../../avatar.js"; import {ViewModel} from "../../ViewModel.js"; export class RoomViewModel extends ViewModel { diff --git a/src/domain/session/room/timeline/tiles/MessageTile.js b/src/domain/session/room/timeline/tiles/MessageTile.js index e74a26a1..802918d7 100644 --- a/src/domain/session/room/timeline/tiles/MessageTile.js +++ b/src/domain/session/room/timeline/tiles/MessageTile.js @@ -15,7 +15,7 @@ limitations under the License. */ import {SimpleTile} from "./SimpleTile.js"; -import {getIdentifierColorNumber} from "../../../avatar.js"; +import {getIdentifierColorNumber} from "../../../../avatar.js"; export class MessageTile extends SimpleTile { constructor(options) { diff --git a/src/domain/session/roomlist/RoomTileViewModel.js b/src/domain/session/roomlist/RoomTileViewModel.js index a10ecc9c..a638ebd4 100644 --- a/src/domain/session/roomlist/RoomTileViewModel.js +++ b/src/domain/session/roomlist/RoomTileViewModel.js @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import {avatarInitials, getIdentifierColorNumber} from "../avatar.js"; +import {avatarInitials, getIdentifierColorNumber} from "../../avatar.js"; import {ViewModel} from "../../ViewModel.js"; export class RoomTileViewModel extends ViewModel {