From d3471a1097167963df35f96ca198860f6ec892bc Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sun, 20 Mar 2022 22:49:33 +0100 Subject: Move uploads to InputBar --- resources/qml/TimelineView.qml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'resources/qml') diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml index 1933baeb..0b3a6427 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml @@ -124,6 +124,12 @@ Item { color: Nheko.theme.separator } + Button { + text: "Send files " + (room ? room.input.uploads.length : 0) + visible: room && room.input.uploads.length > 0 + onClicked: room.input.acceptUploads() + } + NotificationWarning { } -- cgit 1.5.1