Make room avatar larger in RoomInfoView

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-05-25 12:18:30 +05:30
parent 6f1b77b6fa
commit aece82dff6

View file

@ -5,7 +5,7 @@ import { AvatarView } from "../../avatar.js";
export class RoomInfoView extends TemplateView {
render(t, vm) {
return t.div({ className: "RoomInfo" }, [
t.div({ className: "RoomAvatar" }, [t.view(new AvatarView(vm, 50))]),
t.div({ className: "RoomAvatar" }, [t.view(new AvatarView(vm, 128))]),
t.div({ className: "RoomName" }, [text(vm.name)]),
t.div({ className: "RoomId" }, [text(vm.roomId)]),
t.div({ className: "RoomMemberCount" }, [text(vm.memberCount)]),