summary refs log tree commit diff
path: root/resources/qml/TimelineView.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-03-20 22:49:33 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2022-03-20 22:49:33 +0100
commitd3471a1097167963df35f96ca198860f6ec892bc (patch)
tree9b38fbe772f488acd852a99066dcd4d61ca97f07 /resources/qml/TimelineView.qml
parentelide usernames in timeline (#997) (diff)
downloadnheko-d3471a1097167963df35f96ca198860f6ec892bc.tar.xz
Move uploads to InputBar
Diffstat (limited to 'resources/qml/TimelineView.qml')
-rw-r--r--resources/qml/TimelineView.qml6
1 files changed, 6 insertions, 0 deletions
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 {
         }