From 4f915d622e77d3732e0d6a7b5e97748d5213406a Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sun, 3 Jan 2016 22:30:52 +0000 Subject: [PATCH 01/19] switch SVGs from imgs to objects --- src/components/structures/RoomView.js | 22 +++++++++++-------- src/components/views/rooms/MessageComposer.js | 6 ++--- src/components/views/rooms/RoomHeader.js | 18 +++++++-------- 3 files changed, 25 insertions(+), 21 deletions(-) diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index 56dd41d929..f1d408edfd 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -1174,7 +1174,7 @@ module.exports = React.createClass({ if (this.state.syncState === "ERROR") { statusBar = (
- /!\ + /!\
Connectivity to the server has been lost. @@ -1194,7 +1194,7 @@ module.exports = React.createClass({
- ->| + Auto-complete @@ -1204,7 +1204,7 @@ module.exports = React.createClass({ else if (this.state.hasUnsentMessages) { statusBar = (
- /!\ + /!\
Some of your messages have not been sent. @@ -1268,7 +1268,7 @@ module.exports = React.createClass({ if (this.state.draggingFile) { fileDropTarget =
- Drop File Here
+
Drop File Here ; @@ -1306,24 +1306,28 @@ module.exports = React.createClass({ if (call.type === "video") { zoomButton = (
- Fill screen + ); videoMuteButton =
- + {call.isLocalVideoMuted()
} voiceMuteButton =
- + {call.isMicrophoneMuted()
if (!statusBar) { statusBar =
- + Active call
; } @@ -1334,7 +1338,7 @@ module.exports = React.createClass({ { videoMuteButton } { zoomButton } { statusBar } - + } diff --git a/src/components/views/rooms/MessageComposer.js b/src/components/views/rooms/MessageComposer.js index 5ac4a24908..e4bfcf9a41 100644 --- a/src/components/views/rooms/MessageComposer.js +++ b/src/components/views/rooms/MessageComposer.js @@ -474,11 +474,11 @@ module.exports = React.createClass({ else { callButton =
- Voice call + videoCallButton =
- Video call + } @@ -493,7 +493,7 @@ module.exports = React.createClass({