2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Use RpWidget::windowActiveValue

This commit is contained in:
Ilya Fedin
2024-06-18 12:32:27 +04:00
committed by John Preston
parent 8a5797e1bd
commit a22cf8e303
8 changed files with 25 additions and 40 deletions

View File

@@ -897,7 +897,7 @@ void Widget::setupStories() {
Core::App().saveSettingsDelayed();
};
_stories->setShowTooltip(
parentWidget(),
controller()->content(),
rpl::combine(
Core::App().settings().storiesClickTooltipHiddenValue(),
shownValue(),