2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 08:55:59 +00:00

Improve main menu bots disclaimer acceptance.

This commit is contained in:
John Preston
2023-09-08 21:55:28 +04:00
parent 229f7a2c15
commit ef969df86e
8 changed files with 205 additions and 121 deletions

View File

@@ -561,10 +561,6 @@ bool Panel::createWebview(const Webview::ThemeParams &params) {
_widget->showInner(std::move(outer));
_webviewParent = container;
container->paintRequest() | rpl::start_with_next([=] {
QPainter(container).fillRect(container->rect(), QColor(0, 128, 0, 255));
}, container->lifetime());
_webviewBottom = std::make_unique<RpWidget>(_widget.get());
const auto bottom = _webviewBottom.get();
bottom->show();