mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix first time webpage preview customization.
This commit is contained in:
parent
aa29d1c619
commit
d41961945d
1 changed files with 2 additions and 0 deletions
|
@ -204,6 +204,8 @@ WebpageProcessor::WebpageProcessor(
|
||||||
) | rpl::filter([=](not_null<WebPageData*> page) {
|
) | rpl::filter([=](not_null<WebPageData*> page) {
|
||||||
return (_data == page.get());
|
return (_data == page.get());
|
||||||
}) | rpl::start_with_next([=] {
|
}) | rpl::start_with_next([=] {
|
||||||
|
_draft.id = _data->id;
|
||||||
|
_draft.url = _data->url;
|
||||||
updateFromData();
|
updateFromData();
|
||||||
}, _lifetime);
|
}, _lifetime);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue