Make display name bold

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-05-25 16:09:47 +05:30
parent aece82dff6
commit d502a7f911

View file

@ -6,7 +6,7 @@ export class RoomInfoView extends TemplateView {
render(t, vm) {
return t.div({ className: "RoomInfo" }, [
t.div({ className: "RoomAvatar" }, [t.view(new AvatarView(vm, 128))]),
t.div({ className: "RoomName" }, [text(vm.name)]),
t.div({ className: "RoomName" }, [t.h2(vm.name)]),
t.div({ className: "RoomId" }, [text(vm.roomId)]),
t.div({ className: "RoomMemberCount" }, [text(vm.memberCount)]),
t.div({ className: "RoomEncryption" }, [vm.isEncrypted ? "Encrypted" : "Not Encrypted"])