Request, show and require accept for updated ToS.

This commit is contained in:
John Preston
2018-06-03 16:30:40 +03:00
parent c85fd368fe
commit 9ebeddbed8
37 changed files with 898 additions and 485 deletions
-7
View File
@@ -140,13 +140,6 @@ namespace App {
return nullptr;
}
bool passcoded() {
if (auto window = wnd()) {
return window->passcodeWidget();
}
return false;
}
namespace {
// we should get a full restriction in "{fulltype}: {reason}" format and we
// need to find a "-all" tag in {fulltype}, otherwise ignore this restriction