Disable attach bot share phone phrases for now.

This commit is contained in:
John Preston 2022-07-25 18:47:07 +03:00
parent a5d7b23a63
commit d8b94feb9d
2 changed files with 4 additions and 0 deletions

View file

@ -174,6 +174,7 @@ QString Integration::phrasePanelCloseAnyway() {
return "Close anyway";
}
#if 0 // disabled for now
QString Integration::phraseBotSharePhone() {
return "Do you want to share your phone number with this bot?";
}
@ -185,5 +186,6 @@ QString Integration::phraseBotSharePhoneTitle() {
QString Integration::phraseBotSharePhoneConfirm() {
return "Share";
}
#endif
} // namespace Ui

View file

@ -86,9 +86,11 @@ public:
[[nodiscard]] virtual QString phrasePanelCloseWarning();
[[nodiscard]] virtual QString phrasePanelCloseUnsaved();
[[nodiscard]] virtual QString phrasePanelCloseAnyway();
#if 0 // disabled for now
[[nodiscard]] virtual QString phraseBotSharePhone();
[[nodiscard]] virtual QString phraseBotSharePhoneTitle();
[[nodiscard]] virtual QString phraseBotSharePhoneConfirm();
#endif
};