Move terms lock from Core::App to Session.

This commit is contained in:
John Preston
2020-06-24 11:56:16 +04:00
parent 30c82bb2e0
commit e7b8a52278
19 changed files with 233 additions and 272 deletions
+1 -4
View File
@@ -153,10 +153,7 @@ bool UiIntegration::handleUrlClick(
}
rpl::producer<> UiIntegration::forcePopupMenuHideRequests() {
return rpl::merge(
Core::App().passcodeLockChanges(),
Core::App().termsLockChanges()
) | rpl::to_empty;
return Core::App().passcodeLockChanges() | rpl::to_empty;
}
QString UiIntegration::convertTagToMimeTag(const QString &tagId) {