Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
233
void CodeInput::clear() {
234
for (const auto &digit : _digits) {
235
digit->setDigit(kDigitNone);
236
}
237
unfocusAll(_currentIndex = 0);
238
}
239
240
void CodeInput::showError() {
241
clear();
Callers
4
setDigitsCountMax
Method · 0.45
finished
Method · 0.45
checkRequest
Method · 0.45
emailVerifyDone
Method · 0.45
Calls
1
setDigit
Method · 0.80
Tested by
no test coverage detected