2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 06:55:58 +00:00

Replaced observable in Intro::details::Data with rpl.

This commit is contained in:
23rd
2021-05-25 16:27:23 +03:00
parent 0fe7c07007
commit 2c50d3d87b
3 changed files with 6 additions and 3 deletions

View File

@@ -566,7 +566,7 @@ void Widget::getNearestDC() {
const auto nearestCountry = qs(nearest.vcountry());
if (getData()->country != nearestCountry) {
getData()->country = nearestCountry;
getData()->updated.notify();
getData()->updated.fire({});
}
}).send();
}