mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Show downloaded files in Downloads.
This commit is contained in:
@@ -434,9 +434,9 @@ void Widget::setupDownloadBar() {
|
||||
) | rpl::start_with_next([=] {
|
||||
auto &&list = Core::App().downloadManager().loadingList();
|
||||
auto first = (HistoryItem*)nullptr;
|
||||
for (const auto &id : list) {
|
||||
for (const auto id : list) {
|
||||
if (!first) {
|
||||
first = id.object.item;
|
||||
first = id->object.item;
|
||||
} else {
|
||||
controller()->showSection(
|
||||
Info::Downloads::Make(
|
||||
|
||||
Reference in New Issue
Block a user