mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Hide room name, if not loaded yet
This commit is contained in:
parent
1f68bc60b5
commit
b3a7f0b888
2 changed files with 9 additions and 5 deletions
|
@ -159,6 +159,7 @@ Page {
|
|||
}
|
||||
|
||||
ColumnLayout {
|
||||
visible: TimelineManager.timeline != null
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
|
@ -287,7 +288,6 @@ Page {
|
|||
|
||||
property int delegateMaxWidth: (Settings.timelineMaxWidth > 100 && (parent.width - Settings.timelineMaxWidth) > scrollbar.width * 2) ? Settings.timelineMaxWidth : (parent.width - scrollbar.width * 2)
|
||||
|
||||
visible: TimelineManager.timeline != null
|
||||
cacheBuffer: 400
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
|
|
|
@ -32,6 +32,7 @@ Item {
|
|||
|
||||
MouseArea {
|
||||
id: mouseArea
|
||||
|
||||
enabled: model.data.type == MtxEvent.ImageMessage && img.status == Image.Ready
|
||||
hoverEnabled: true
|
||||
anchors.fill: parent
|
||||
|
@ -65,6 +66,9 @@ Item {
|
|||
text: model.data.filename ? model.data.filename : model.data.body
|
||||
color: colors.text
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue