MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / clear

Method clear

Telegram/SourceFiles/intro/intro_code_input.cpp:233–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233void CodeInput::clear() {
234 for (const auto &digit : _digits) {
235 digit->setDigit(kDigitNone);
236 }
237 unfocusAll(_currentIndex = 0);
238}
239
240void CodeInput::showError() {
241 clear();

Callers 4

setDigitsCountMaxMethod · 0.45
finishedMethod · 0.45
checkRequestMethod · 0.45
emailVerifyDoneMethod · 0.45

Calls 1

setDigitMethod · 0.80

Tested by

no test coverage detected