2014-05-30 08:53:19 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
2014-12-01 10:47:38 +00:00
|
|
|
the official desktop version of Telegram messaging app, see https://telegram.org
|
2014-05-30 08:53:19 +00:00
|
|
|
|
|
|
|
Telegram Desktop is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
It is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
2015-10-03 13:16:42 +00:00
|
|
|
In addition, as a special exception, the copyright holders give permission
|
|
|
|
to link the code of portions of this program with the OpenSSL library.
|
|
|
|
|
2014-05-30 08:53:19 +00:00
|
|
|
Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
|
2016-02-08 10:56:18 +00:00
|
|
|
Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
|
2014-05-30 08:53:19 +00:00
|
|
|
*/
|
|
|
|
#include "stdafx.h"
|
2016-04-21 17:57:29 +00:00
|
|
|
#include "intro/introphone.h"
|
2014-05-30 08:53:19 +00:00
|
|
|
|
2016-04-21 17:57:29 +00:00
|
|
|
#include "lang.h"
|
2014-05-30 08:53:19 +00:00
|
|
|
#include "application.h"
|
2016-03-14 16:59:18 +00:00
|
|
|
#include "intro/introcode.h"
|
2016-10-27 14:10:28 +00:00
|
|
|
#include "styles/style_intro.h"
|
2016-11-11 13:46:04 +00:00
|
|
|
#include "ui/widgets/buttons.h"
|
2014-05-30 08:53:19 +00:00
|
|
|
|
|
|
|
namespace {
|
2016-03-29 17:17:00 +00:00
|
|
|
class SignUpClickHandler : public LeftButtonClickHandler {
|
2014-05-30 08:53:19 +00:00
|
|
|
public:
|
2016-03-29 17:17:00 +00:00
|
|
|
SignUpClickHandler(IntroPhone *widget) : _widget(widget) {
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
|
|
|
|
2016-03-29 17:17:00 +00:00
|
|
|
protected:
|
|
|
|
void onClickImpl() const override {
|
2014-05-30 08:53:19 +00:00
|
|
|
_widget->toSignUp();
|
|
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
IntroPhone *_widget;
|
2016-03-29 17:17:00 +00:00
|
|
|
|
2014-05-30 08:53:19 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2016-03-14 16:59:18 +00:00
|
|
|
IntroPhone::IntroPhone(IntroWidget *parent) : IntroStep(parent)
|
2015-12-08 12:33:37 +00:00
|
|
|
, a_errorAlpha(0)
|
|
|
|
, _a_error(animation(this, &IntroPhone::step_error))
|
2016-11-04 19:50:35 +00:00
|
|
|
, _next(this, lang(lng_intro_next), st::introNextButton)
|
|
|
|
, _country(this, st::introCountry)
|
|
|
|
, _phone(this, st::inpIntroPhone)
|
|
|
|
, _code(this, st::inpIntroCountryCode)
|
2016-10-31 12:29:26 +00:00
|
|
|
, _signup(this, lng_phone_notreg(lt_signup_start, textcmdStartLink(1), lt_signup_end, textcmdStopLink()), FlatLabel::InitType::Rich, st::introErrorLabel, st::introErrorLabelTextStyle)
|
2016-11-04 19:50:35 +00:00
|
|
|
, _checkRequest(this) {
|
2014-05-30 08:53:19 +00:00
|
|
|
setVisible(false);
|
|
|
|
setGeometry(parent->innerRect());
|
|
|
|
|
2016-11-04 19:50:35 +00:00
|
|
|
connect(_next, SIGNAL(clicked()), this, SLOT(onSubmitPhone()));
|
|
|
|
connect(_phone, SIGNAL(voidBackspace(QKeyEvent*)), _code, SLOT(startErasing(QKeyEvent*)));
|
|
|
|
connect(_country, SIGNAL(codeChanged(const QString &)), _code, SLOT(codeSelected(const QString &)));
|
|
|
|
connect(_code, SIGNAL(codeChanged(const QString &)), _country, SLOT(onChooseCode(const QString &)));
|
|
|
|
connect(_code, SIGNAL(codeChanged(const QString &)), _phone, SLOT(onChooseCode(const QString &)));
|
|
|
|
connect(_country, SIGNAL(codeChanged(const QString &)), _phone, SLOT(onChooseCode(const QString &)));
|
|
|
|
connect(_code, SIGNAL(addedToNumber(const QString &)), _phone, SLOT(addedToNumber(const QString &)));
|
|
|
|
connect(_phone, SIGNAL(changed()), this, SLOT(onInputChange()));
|
|
|
|
connect(_code, SIGNAL(changed()), this, SLOT(onInputChange()));
|
2014-05-30 08:53:19 +00:00
|
|
|
connect(intro(), SIGNAL(countryChanged()), this, SLOT(countryChanged()));
|
2016-11-04 19:50:35 +00:00
|
|
|
connect(_checkRequest, SIGNAL(timeout()), this, SLOT(onCheckRequest()));
|
2014-05-30 08:53:19 +00:00
|
|
|
|
2016-11-04 19:50:35 +00:00
|
|
|
_signup->setLink(1, MakeShared<SignUpClickHandler>(this));
|
|
|
|
_signup->hide();
|
2014-05-30 08:53:19 +00:00
|
|
|
|
2016-11-04 19:50:35 +00:00
|
|
|
_signupCache = myGrab(_signup);
|
2014-05-30 08:53:19 +00:00
|
|
|
|
2016-11-04 19:50:35 +00:00
|
|
|
if (!_country->onChooseCountry(intro()->currentCountry())) {
|
|
|
|
_country->onChooseCountry(qsl("US"));
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
2016-11-04 19:50:35 +00:00
|
|
|
_changed = false;
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void IntroPhone::paintEvent(QPaintEvent *e) {
|
|
|
|
bool trivial = (rect() == e->rect());
|
|
|
|
|
|
|
|
QPainter p(this);
|
|
|
|
if (!trivial) {
|
|
|
|
p.setClipRect(e->rect());
|
|
|
|
}
|
2016-11-04 19:50:35 +00:00
|
|
|
if (trivial || e->rect().intersects(_textRect)) {
|
2014-05-30 08:53:19 +00:00
|
|
|
p.setFont(st::introHeaderFont->f);
|
2016-11-04 19:50:35 +00:00
|
|
|
p.drawText(_textRect, lang(lng_phone_title), style::al_top);
|
2014-05-30 08:53:19 +00:00
|
|
|
p.setFont(st::introFont->f);
|
2016-11-04 19:50:35 +00:00
|
|
|
p.drawText(_textRect, lang(lng_phone_desc), style::al_bottom);
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
2016-11-04 19:50:35 +00:00
|
|
|
if (_a_error.animating() || _error.length()) {
|
|
|
|
int32 errorY = _showSignup ? ((_phone->y() + _phone->height() + _next->y() - st::introErrorFont->height) / 2) : (_next->y() + _next->height() + st::introErrorTop);
|
2015-12-08 12:33:37 +00:00
|
|
|
p.setOpacity(a_errorAlpha.current());
|
2016-10-31 12:29:26 +00:00
|
|
|
p.setFont(st::introErrorFont);
|
|
|
|
p.setPen(st::introErrorFg);
|
2016-11-04 19:50:35 +00:00
|
|
|
p.drawText(QRect(_textRect.x(), errorY, _textRect.width(), st::introErrorFont->height), _error, style::al_top);
|
2014-05-30 08:53:19 +00:00
|
|
|
|
2016-11-04 19:50:35 +00:00
|
|
|
if (_signup->isHidden() && _showSignup) {
|
|
|
|
p.drawPixmap(_signup->x(), _signup->y(), _signupCache);
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void IntroPhone::resizeEvent(QResizeEvent *e) {
|
|
|
|
if (e->oldSize().width() != width()) {
|
2016-11-04 19:50:35 +00:00
|
|
|
_next->move((width() - _next->width()) / 2, st::introBtnTop);
|
|
|
|
_country->move((width() - _country->width()) / 2, st::introTextTop + st::introTextSize.height() + st::introCountry.top);
|
|
|
|
int phoneTop = _country->y() + _country->height() + st::introPhoneTop;
|
|
|
|
_phone->move((width() - _country->width()) / 2 + _country->width() - st::inpIntroPhone.width, phoneTop);
|
|
|
|
_code->move((width() - _country->width()) / 2, phoneTop);
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
2016-11-04 19:50:35 +00:00
|
|
|
_signup->move((width() - _signup->width()) / 2, _next->y() + _next->height() + st::introErrorTop - ((st::introErrorLabelTextStyle.lineHeight - st::introErrorFont->height) / 2));
|
|
|
|
_textRect = QRect((width() - st::introTextSize.width()) / 2, st::introTextTop, st::introTextSize.width(), st::introTextSize.height());
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
|
|
|
|
2016-11-04 19:50:35 +00:00
|
|
|
void IntroPhone::showError(const QString &error, bool signUp) {
|
|
|
|
if (!error.isEmpty()) {
|
|
|
|
_phone->notaBene();
|
2014-05-30 08:53:19 +00:00
|
|
|
_showSignup = signUp;
|
|
|
|
}
|
|
|
|
|
2016-11-04 19:50:35 +00:00
|
|
|
if (!_a_error.animating() && error == _error) return;
|
2014-05-30 08:53:19 +00:00
|
|
|
|
2016-11-04 19:50:35 +00:00
|
|
|
if (error.length()) {
|
|
|
|
_error = error;
|
2015-12-08 12:33:37 +00:00
|
|
|
a_errorAlpha.start(1);
|
2014-05-30 08:53:19 +00:00
|
|
|
} else {
|
2015-12-08 12:33:37 +00:00
|
|
|
a_errorAlpha.start(0);
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
2016-11-04 19:50:35 +00:00
|
|
|
_signup->hide();
|
2015-12-08 12:33:37 +00:00
|
|
|
_a_error.start();
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
|
|
|
|
2015-12-08 12:33:37 +00:00
|
|
|
void IntroPhone::step_error(float64 ms, bool timer) {
|
2016-10-31 12:29:26 +00:00
|
|
|
float64 dt = ms / st::introErrorDuration;
|
2014-05-30 08:53:19 +00:00
|
|
|
|
|
|
|
if (dt >= 1) {
|
2015-12-08 12:33:37 +00:00
|
|
|
_a_error.stop();
|
|
|
|
a_errorAlpha.finish();
|
|
|
|
if (!a_errorAlpha.current()) {
|
2016-11-04 19:50:35 +00:00
|
|
|
_error.clear();
|
|
|
|
_signup->hide();
|
|
|
|
} else if (!_error.isEmpty() && _showSignup) {
|
|
|
|
_signup->show();
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
|
|
|
} else {
|
2016-10-31 12:29:26 +00:00
|
|
|
a_errorAlpha.update(dt, anim::linear);
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
2015-12-08 12:33:37 +00:00
|
|
|
if (timer) update();
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void IntroPhone::countryChanged() {
|
2016-11-04 19:50:35 +00:00
|
|
|
if (!_changed) {
|
2014-05-30 08:53:19 +00:00
|
|
|
selectCountry(intro()->currentCountry());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void IntroPhone::onInputChange() {
|
2016-11-04 19:50:35 +00:00
|
|
|
_changed = true;
|
2016-03-14 16:59:18 +00:00
|
|
|
showError(QString());
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void IntroPhone::disableAll() {
|
2016-11-04 19:50:35 +00:00
|
|
|
_next->setDisabled(true);
|
|
|
|
_phone->setDisabled(true);
|
|
|
|
_country->setDisabled(true);
|
|
|
|
_code->setDisabled(true);
|
2014-05-30 08:53:19 +00:00
|
|
|
setFocus();
|
|
|
|
}
|
|
|
|
|
|
|
|
void IntroPhone::enableAll(bool failed) {
|
2016-11-04 19:50:35 +00:00
|
|
|
_next->setDisabled(false);
|
|
|
|
_phone->setDisabled(false);
|
|
|
|
_country->setDisabled(false);
|
|
|
|
_code->setDisabled(false);
|
|
|
|
if (failed) _phone->setFocus();
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
|
|
|
|
2016-03-14 16:59:18 +00:00
|
|
|
void IntroPhone::onSubmitPhone() {
|
2016-11-04 19:50:35 +00:00
|
|
|
if (_sentRequest || isHidden()) return;
|
2014-05-30 08:53:19 +00:00
|
|
|
|
|
|
|
if (!App::isValidPhone(fullNumber())) {
|
|
|
|
showError(lang(lng_bad_phone));
|
2016-11-04 19:50:35 +00:00
|
|
|
_phone->setFocus();
|
2014-05-30 08:53:19 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
disableAll();
|
2016-03-14 16:59:18 +00:00
|
|
|
showError(QString());
|
2014-05-30 08:53:19 +00:00
|
|
|
|
2016-11-04 19:50:35 +00:00
|
|
|
_checkRequest->start(1000);
|
2014-05-30 08:53:19 +00:00
|
|
|
|
2016-11-04 19:50:35 +00:00
|
|
|
_sentPhone = fullNumber();
|
|
|
|
_sentRequest = MTP::send(MTPauth_CheckPhone(MTP_string(_sentPhone)), rpcDone(&IntroPhone::phoneCheckDone), rpcFail(&IntroPhone::phoneSubmitFail));
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void IntroPhone::stopCheck() {
|
2016-11-04 19:50:35 +00:00
|
|
|
_checkRequest->stop();
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void IntroPhone::onCheckRequest() {
|
2016-11-04 19:50:35 +00:00
|
|
|
int32 status = MTP::state(_sentRequest);
|
2014-05-30 08:53:19 +00:00
|
|
|
if (status < 0) {
|
|
|
|
int32 leftms = -status;
|
|
|
|
if (leftms >= 1000) {
|
2016-11-04 19:50:35 +00:00
|
|
|
MTP::cancel(base::take(_sentRequest));
|
|
|
|
if (!_phone->isEnabled()) enableAll(true);
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
|
|
|
}
|
2016-11-04 19:50:35 +00:00
|
|
|
if (!_sentRequest && status == MTP::RequestSent) {
|
2014-05-30 08:53:19 +00:00
|
|
|
stopCheck();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void IntroPhone::phoneCheckDone(const MTPauth_CheckedPhone &result) {
|
|
|
|
stopCheck();
|
|
|
|
|
2016-04-08 10:44:35 +00:00
|
|
|
const auto &d(result.c_auth_checkedPhone());
|
2015-10-29 00:16:52 +00:00
|
|
|
if (mtpIsTrue(d.vphone_registered)) {
|
2014-05-30 08:53:19 +00:00
|
|
|
disableAll();
|
2016-03-14 16:59:18 +00:00
|
|
|
showError(QString());
|
2014-05-30 08:53:19 +00:00
|
|
|
|
2016-11-04 19:50:35 +00:00
|
|
|
_checkRequest->start(1000);
|
2014-05-30 08:53:19 +00:00
|
|
|
|
2016-03-19 16:55:15 +00:00
|
|
|
MTPauth_SendCode::Flags flags = 0;
|
2016-11-04 19:50:35 +00:00
|
|
|
_sentRequest = MTP::send(MTPauth_SendCode(MTP_flags(flags), MTP_string(_sentPhone), MTPBool(), MTP_int(ApiId), MTP_string(ApiHash)), rpcDone(&IntroPhone::phoneSubmitDone), rpcFail(&IntroPhone::phoneSubmitFail));
|
2014-05-30 08:53:19 +00:00
|
|
|
} else {
|
|
|
|
showError(lang(lng_bad_phone_noreg), true);
|
|
|
|
enableAll(true);
|
2016-11-04 19:50:35 +00:00
|
|
|
_sentRequest = 0;
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void IntroPhone::phoneSubmitDone(const MTPauth_SentCode &result) {
|
|
|
|
stopCheck();
|
2016-11-04 19:50:35 +00:00
|
|
|
_sentRequest = 0;
|
2016-03-14 16:59:18 +00:00
|
|
|
enableAll(true);
|
|
|
|
|
|
|
|
if (result.type() != mtpc_auth_sentCode) {
|
|
|
|
showError(lang(lng_server_error));
|
|
|
|
return;
|
2014-10-22 18:39:03 +00:00
|
|
|
}
|
2016-03-14 16:59:18 +00:00
|
|
|
|
2016-04-08 10:44:35 +00:00
|
|
|
const auto &d(result.c_auth_sentCode());
|
2016-03-14 16:59:18 +00:00
|
|
|
switch (d.vtype.type()) {
|
2016-03-15 19:53:38 +00:00
|
|
|
case mtpc_auth_sentCodeTypeApp: intro()->setCodeByTelegram(true); break;
|
2016-03-15 19:38:30 +00:00
|
|
|
case mtpc_auth_sentCodeTypeSms:
|
2016-03-15 19:53:38 +00:00
|
|
|
case mtpc_auth_sentCodeTypeCall: intro()->setCodeByTelegram(false); break;
|
2016-03-14 16:59:18 +00:00
|
|
|
case mtpc_auth_sentCodeTypeFlashCall: LOG(("Error: should not be flashcall!")); break;
|
|
|
|
}
|
2016-11-04 19:50:35 +00:00
|
|
|
intro()->setPhone(_sentPhone, d.vphone_code_hash.c_string().v.c_str(), d.is_phone_registered());
|
2016-03-15 19:38:30 +00:00
|
|
|
if (d.has_next_type() && d.vnext_type.type() == mtpc_auth_codeTypeCall) {
|
|
|
|
intro()->setCallStatus({ IntroWidget::CallWaiting, d.has_timeout() ? d.vtimeout.v : 60 });
|
|
|
|
} else {
|
|
|
|
intro()->setCallStatus({ IntroWidget::CallDisabled, 0 });
|
2016-03-14 16:59:18 +00:00
|
|
|
}
|
|
|
|
intro()->nextStep(new IntroCode(intro()));
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void IntroPhone::toSignUp() {
|
|
|
|
disableAll();
|
2016-03-14 16:59:18 +00:00
|
|
|
showError(QString());
|
2014-05-30 08:53:19 +00:00
|
|
|
|
2016-11-04 19:50:35 +00:00
|
|
|
_checkRequest->start(1000);
|
2014-05-30 08:53:19 +00:00
|
|
|
|
2016-03-19 16:55:15 +00:00
|
|
|
MTPauth_SendCode::Flags flags = 0;
|
2016-11-04 19:50:35 +00:00
|
|
|
_sentRequest = MTP::send(MTPauth_SendCode(MTP_flags(flags), MTP_string(_sentPhone), MTPBool(), MTP_int(ApiId), MTP_string(ApiHash)), rpcDone(&IntroPhone::phoneSubmitDone), rpcFail(&IntroPhone::phoneSubmitFail));
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool IntroPhone::phoneSubmitFail(const RPCError &error) {
|
2016-04-08 10:44:35 +00:00
|
|
|
if (MTP::isFloodError(error)) {
|
|
|
|
stopCheck();
|
2016-11-04 19:50:35 +00:00
|
|
|
_sentRequest = 0;
|
2016-04-08 10:44:35 +00:00
|
|
|
showError(lang(lng_flood_error));
|
|
|
|
enableAll(true);
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (MTP::isDefaultHandledError(error)) return false;
|
|
|
|
|
2014-05-30 08:53:19 +00:00
|
|
|
stopCheck();
|
2016-11-04 19:50:35 +00:00
|
|
|
_sentRequest = 0;
|
2014-05-30 08:53:19 +00:00
|
|
|
const QString &err = error.type();
|
2016-04-08 10:44:35 +00:00
|
|
|
if (err == qstr("PHONE_NUMBER_INVALID")) { // show error
|
2014-05-30 08:53:19 +00:00
|
|
|
showError(lang(lng_bad_phone));
|
|
|
|
enableAll(true);
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (cDebug()) { // internal server error
|
|
|
|
showError(err + ": " + error.description());
|
|
|
|
} else {
|
|
|
|
showError(lang(lng_server_error));
|
|
|
|
}
|
|
|
|
enableAll(true);
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
QString IntroPhone::fullNumber() const {
|
2016-11-04 19:50:35 +00:00
|
|
|
return _code->text() + _phone->text();
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void IntroPhone::selectCountry(const QString &c) {
|
2016-11-04 19:50:35 +00:00
|
|
|
_country->onChooseCountry(c);
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void IntroPhone::activate() {
|
2016-03-14 16:59:18 +00:00
|
|
|
IntroStep::activate();
|
2016-11-04 19:50:35 +00:00
|
|
|
_phone->setFocus();
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
|
|
|
|
2016-03-14 16:59:18 +00:00
|
|
|
void IntroPhone::finished() {
|
|
|
|
IntroStep::finished();
|
2016-11-04 19:50:35 +00:00
|
|
|
_checkRequest->stop();
|
2016-03-14 16:59:18 +00:00
|
|
|
rpcClear();
|
|
|
|
|
2016-11-04 19:50:35 +00:00
|
|
|
_error.clear();
|
2016-03-14 16:59:18 +00:00
|
|
|
a_errorAlpha = anim::fvalue(0);
|
|
|
|
enableAll(true);
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
|
|
|
|
2016-03-14 16:59:18 +00:00
|
|
|
void IntroPhone::cancelled() {
|
2016-11-04 19:50:35 +00:00
|
|
|
if (_sentRequest) {
|
|
|
|
MTP::cancel(base::take(_sentRequest));
|
2016-03-14 16:59:18 +00:00
|
|
|
}
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|
|
|
|
|
2016-03-14 16:59:18 +00:00
|
|
|
void IntroPhone::onSubmit() {
|
|
|
|
onSubmitPhone();
|
2014-05-30 08:53:19 +00:00
|
|
|
}
|