2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 15:45:12 +00:00

Show correct downloads elements context menu.

This commit is contained in:
John Preston
2022-02-27 14:14:39 +03:00
parent daadf7e2a1
commit e89c95551f
32 changed files with 362 additions and 147 deletions

View File

@@ -343,9 +343,9 @@ void WrapWidget::createTopBar() {
_controller.get(),
TopBarStyle(wrapValue),
std::move(selectedItems));
_topBar->cancelSelectionRequests(
) | rpl::start_with_next([this] {
_content->cancelSelection();
_topBar->selectionActionRequests(
) | rpl::start_with_next([=](SelectionAction action) {
_content->selectionAction(action);
}, _topBar->lifetime());
_topBar->setTitle(TitleValue(