Add indentation for unencrypted warning text

Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
pull/21833/head
Germain 2021-06-10 14:21:48 +01:00 committed by GitHub
parent 9731e275f8
commit 79b8fbc2a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -185,10 +185,12 @@ const NewRoomIntro = () => {
});
}
const sub2 = _t("Your private messages are normally encrypted, but this room isn't. "+
"Usually this is due to an unsupported device or method being used, " +
"like email invites. <a>Enable encryption in settings.</a>", {},
{ a: sub => <a onClick={openRoomSettings} href="#">{sub}</a> });
const sub2 = _t(
"Your private messages are normally encrypted, but this room isn't. "+
"Usually this is due to an unsupported device or method being used, " +
"like email invites. <a>Enable encryption in settings.</a>", {},
{ a: sub => <a onClick={openRoomSettings} href="#">{sub}</a> },
);
return <div className="mx_NewRoomIntro">