summary refs log tree commit diff
path: root/packages
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-14 22:21:59 +0100
committerRory& <root@rory.gay>2025-12-14 22:21:59 +0100
commit55e06118fc8b9162f703d46179716e1beefa49dd (patch)
tree39d5c727c25b554b64d9ec24ea548c6bedfa3341 /packages
parentdesktop: BT (diff)
downloadRory-Open-Architecture-55e06118fc8b9162f703d46179716e1beefa49dd.tar.xz
nix-output-monitor on main
Diffstat (limited to 'packages')
-rw-r--r--packages/nheko-1.patch34
-rw-r--r--packages/nheko-git.nix2
2 files changed, 36 insertions, 0 deletions
diff --git a/packages/nheko-1.patch b/packages/nheko-1.patch
new file mode 100644

index 0000000..63f52bd --- /dev/null +++ b/packages/nheko-1.patch
@@ -0,0 +1,34 @@ +diff --git a/resources/qml/delegates/Reply.qml b/resources/qml/delegates/Reply.qml +index 77cad0f0..b80086af 100644 +--- a/resources/qml/delegates/Reply.qml ++++ b/resources/qml/delegates/Reply.qml +@@ -62,23 +62,20 @@ AbstractButton { + + clip: r.limitHeight + +- height: r.limitHeight ? Math.min( timelineEvent.main?.height, timelineView.height / 10) + Nheko.paddingSmall + usernameBtn.height : undefined ++ height: r.limitHeight ? (Math.min( timelineEvent.main?.height, timelineView.height / 10) + Nheko.paddingSmall + usernameBtn.height) : undefined + + // FIXME: I have no idea, why this name doesn't render in the reply popup on Qt 6.9.2 + AbstractButton { + id: usernameBtn + +- visible: r.eventId +- + contentItem: Label { +- visible: r.eventId + id: userName_ +- text: r.userName +- color: r.userColor +- textFormat: Text.RichText +- width: timelineEvent.main?.width ++ text: r.userName ?? 'missing name' ++ //color: r.userColor ++ //textFormat: Text.RichText ++ width: timelineEvent.main?.width ?? 1000 + } +- onClicked: room.openUserProfile(r.userId) ++ // onClicked: room.openUserProfile(r.userId) + } + + data: [ diff --git a/packages/nheko-git.nix b/packages/nheko-git.nix
index c392d2f..af7d035 100644 --- a/packages/nheko-git.nix +++ b/packages/nheko-git.nix
@@ -40,6 +40,8 @@ stdenv.mkDerivation { version = "git+master"; src = nhekoSrc; + #patches = [ ./nheko-1.patch ]; + nativeBuildInputs = [ lmdbxx cmake