mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00: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