speed up SetMxIdDialog user check to 250ms as it was driving me MAD

i18nize new bottomleftmenu buttons
This commit is contained in:
Matthew Hodgson 2017-05-28 23:28:29 +01:00
parent 5c885922d9
commit 1efc5c2b25
7 changed files with 17 additions and 7 deletions

View file

@ -17,13 +17,14 @@ limitations under the License.
import React from 'react';
import sdk from '../../../index';
import PropTypes from 'prop-types';
import { _t } from '../../../languageHandler';
const CreateRoomButton = function(props) {
const ActionButton = sdk.getComponent('elements.ActionButton');
return (
<ActionButton action="view_create_chat"
mouseOverAction={props.callout ? "callout_create_room" : null}
label="Create new room"
label={ _t("Create new room") }
iconPath="img/icons-create-room.svg"
size={props.size}
tooltip={props.tooltip}