fix safari?

This commit is contained in:
Martti Malmi 2021-07-28 11:52:05 +03:00
parent 519da3b4e6
commit facf75ad96
3 changed files with 4 additions and 1 deletions

View File

@ -30,6 +30,7 @@ class Footer extends Component {
render() {
const key = Session.getPubKey();
if (!key) { return; }
const activeRoute = this.state.activeRoute;
if (this.chatId) {

View File

@ -96,11 +96,12 @@ class Header extends Component {
}
render() {
const key = Session.getPubKey();
if (!key) { return; }
const activeRoute = this.state.activeRoute;
const chat = Session.channels[this.chatId];
const isTyping = chat && chat.isTyping;
const onlineStatus = !(chat && chat.uuid) && activeRoute && activeRoute.length > 20 && !isTyping && this.getOnlineStatusText();
const key = Session.getPubKey();
const searchBox = this.chatId ? '' : html`<${SearchBox}/>`;
return html`

View File

@ -31,6 +31,7 @@ class Identicon extends Component {
componentDidMount() {
const pub = this.props.str;
if (!pub) { return; }
this.identicon = new iris.Attribute({type: 'keyID', value: pub}).identicon({width: this.props.width, showType: false});
this.base.appendChild(this.identicon);
if (!this.props.hidePhoto) {