Implement devtoool to show hidden timeline messages

This commit is contained in:
James Graham
2024-04-20 15:38:31 +02:00
parent dc2f11eb2b
commit 8b63c18f65
7 changed files with 134 additions and 5 deletions

View File

@@ -50,6 +50,17 @@ DelegateChooser {
DelegateChoice {
roleValue: DelegateType.Other
delegate: Item {}
delegate: Config.showAllEvents ? hiddenDelegate : emptyDelegate
Component {
id: hiddenDelegate
HiddenDelegate {
room: root.room
}
}
Component {
id: emptyDelegate
Item {}
}
}
}