2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 00:55:12 +00:00

Support theming for webview-s (payments, attach).

This commit is contained in:
John Preston
2022-03-29 00:14:10 +04:00
parent df15ff9f8e
commit aed1904b4c
14 changed files with 147 additions and 31 deletions

View File

@@ -4225,6 +4225,14 @@ uint64 Session::wallpapersHash() const {
return _wallpapersHash;
}
void Session::webViewResultSent(WebViewResultSent &&sent) {
return _webViewResultSent.fire(std::move(sent));
}
auto Session::webViewResultSent() const -> rpl::producer<WebViewResultSent> {
return _webViewResultSent.events();
}
void Session::clearLocalStorage() {
_cache->close();
_cache->clear();