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

Moved out template classes for local passcode from header.

This commit is contained in:
23rd
2022-05-05 20:27:16 +03:00
parent c47140c62d
commit 77d50d9177
3 changed files with 146 additions and 132 deletions

View File

@@ -250,9 +250,9 @@ void SetupLocalPasscode(
{ &st::settingsIconLock, kIconGreen }
)->addClickHandler([=] {
if (controller->session().domain().local().hasLocalPasscode()) {
showOther(LocalPasscodeCheck::Id());
showOther(LocalPasscodeCheckId());
} else {
showOther(LocalPasscodeCreate::Id());
showOther(LocalPasscodeCreateId());
}
});
}