mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 19:45:05 +01:00
Make room avatar larger in RoomInfoView
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
6f1b77b6fa
commit
aece82dff6
@ -5,7 +5,7 @@ import { AvatarView } from "../../avatar.js";
|
|||||||
export class RoomInfoView extends TemplateView {
|
export class RoomInfoView extends TemplateView {
|
||||||
render(t, vm) {
|
render(t, vm) {
|
||||||
return t.div({ className: "RoomInfo" }, [
|
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: "RoomName" }, [text(vm.name)]),
|
||||||
t.div({ className: "RoomId" }, [text(vm.roomId)]),
|
t.div({ className: "RoomId" }, [text(vm.roomId)]),
|
||||||
t.div({ className: "RoomMemberCount" }, [text(vm.memberCount)]),
|
t.div({ className: "RoomMemberCount" }, [text(vm.memberCount)]),
|
||||||
|
Loading…
Reference in New Issue
Block a user