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:
@@ -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(
|
||||
|
Reference in New Issue
Block a user