mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-01 17:57:51 +00:00
Implement new bot web-app methods.
This commit is contained in:
@@ -370,7 +370,6 @@ QString UiIntegration::phrasePanelCloseAnyway() {
|
||||
return tr::lng_bot_close_warning_sure(tr::now);
|
||||
}
|
||||
|
||||
#if 0 // disabled for now
|
||||
QString UiIntegration::phraseBotSharePhone() {
|
||||
return tr::lng_bot_share_phone(tr::now);
|
||||
}
|
||||
@@ -382,7 +381,18 @@ QString UiIntegration::phraseBotSharePhoneTitle() {
|
||||
QString UiIntegration::phraseBotSharePhoneConfirm() {
|
||||
return tr::lng_bot_share_phone_confirm(tr::now);
|
||||
}
|
||||
#endif
|
||||
|
||||
QString UiIntegration::phraseBotAllowWrite() {
|
||||
return tr::lng_bot_allow_write(tr::now);
|
||||
}
|
||||
|
||||
QString UiIntegration::phraseBotAllowWriteTitle() {
|
||||
return tr::lng_bot_allow_write_title(tr::now);
|
||||
}
|
||||
|
||||
QString UiIntegration::phraseBotAllowWriteConfirm() {
|
||||
return tr::lng_bot_allow_write_confirm(tr::now);
|
||||
}
|
||||
|
||||
bool OpenGLLastCheckFailed() {
|
||||
return QFile::exists(OpenGLCheckFilePath());
|
||||
|
||||
Reference in New Issue
Block a user