mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-01 17:27:53 +00:00
Pascal Precht
71ab9cebcf
fix(ChatLayout): ensure channel name is vertically centered
This was originally reported in https://github.com/status-im/StatusQ/issues/427, however it turns out that the underlying component already handles this case correctly. The reason the channel name is not vertically centered inside Status Desktop, is because the returned value of `XSS.filterXss()` for the `subTitle` is never an empty string. Trimming the return value fixes this.
…
…
…
…
…
…
…
Status-desktop
Desktop client for the Status Network built with Nim and Qt
Dev Docs: https://hackmd.io/@status-desktop/B1naRjxh_/https%3A%2F%2Fhackmd.io%2F%40status-desktop%2FB1eOaf-nd
Description
Languages
QML
39.2%
JavaScript
29.7%
Nim
18.5%
Python
5.7%
C++
5.2%
Other
1.6%