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

Show toasts on reply / archive / unarchive.

This commit is contained in:
John Preston
2023-06-15 20:28:53 +04:00
parent ff835ec76c
commit ad5b96b049
7 changed files with 49 additions and 17 deletions

View File

@@ -353,7 +353,8 @@ InnerWidget::InnerWidget(
) | rpl::start_with_next([=](Stories::ToggleShownRequest request) {
session().data().stories().toggleHidden(
PeerId(int64(request.id)),
!request.shown);
!request.shown,
_controller->uiShow());
}, lifetime());
_stories->loadMoreRequests(