2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Handle t.me/bg links with wallpapers / colors.

This commit is contained in:
John Preston
2019-01-17 12:18:23 +04:00
parent e59a68cd68
commit 1894b8fcf7
34 changed files with 805 additions and 194 deletions

View File

@@ -411,7 +411,7 @@ void Widget::hideSlow() {
auto [left, right] = base::make_binary_guard();
_hidingDelayed = std::move(left);
App::CallDelayed(st::notifySlowHide, this, [=, guard = std::move(right)] {
if (guard.alive() && _hiding) {
if (guard && _hiding) {
hideFast();
}
});