hide the time header in chats if it would be transparent

Text over other text without a background is unreadable and looks horrible,
it's better to not have the header at all
This commit is contained in:
Xaver Hugl
2022-12-31 15:29:01 +01:00
parent af318a2bae
commit e0d508d3dd

View File

@@ -261,7 +261,7 @@ Kirigami.ScrollablePage {
maxWidth: messageListView.sectionBannerItem ? messageListView.sectionBannerItem.width - Kirigami.Units.largeSpacing * 2 : 0
z: 3
visible: messageListView.sectionBannerItem != undefined && messageListView.sectionBannerItem.ListView.section != ""
visible: messageListView.sectionBannerItem != undefined && messageListView.sectionBannerItem.ListView.section != "" && !Config.blur
labelText: messageListView.sectionBannerItem ? messageListView.sectionBannerItem.ListView.section : ""
}
footerPositioning: ListView.OverlayHeader