Update LeftBanner, fix forget button crash

This commit is contained in:
miruka
2019-08-15 13:00:15 -04:00
parent 3270c6dd19
commit 6a7376d498
4 changed files with 11 additions and 12 deletions

View File

@@ -2,12 +2,12 @@ import QtQuick 2.12
import "../../Base"
Banner {
property string userId: ""
color: theme.chat.leftBanner.background
// TODO: avatar func auto
avatar.userId: userId
avatar.userId: chatPage.userId
avatar.displayName: chatPage.userInfo.display_name
avatar.avatarUrl: chatPage.userInfo.avatar_url
labelText: qsTr("You are not part of this room anymore.")
buttonModel: [