Add header to UserMenu for mobile which has the user info

To give a little bit more context, and it also matches the message
context menu which does the same.
This commit is contained in:
Joshua Goins
2025-05-18 19:59:29 -04:00
parent d059195e92
commit 2687448212
3 changed files with 43 additions and 5 deletions

View File

@@ -173,11 +173,11 @@ MessageDelegateBase {
function openUserMenu(): void {
const menu = Qt.createComponent("org.kde.neochat", "UserMenu").createObject(root, {
connection: root.connection,
window: QQC2.ApplicationWindow.window as Kirigami.ApplicationWindow,
author: root.author,
});
menu.popup(root);
console.info(Qt.createComponent("org.kde.neochat", "UserMenu").errorString());
menu.popup(root.QQC2.Overlay.overlay);
}
HoverHandler {