2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 15:35:51 +00:00

Always show premium badge in support mode.

This commit is contained in:
John Preston
2022-06-20 11:13:39 +04:00
parent b84c876ba2
commit 1b9232e28d
4 changed files with 8 additions and 2 deletions

View File

@@ -236,6 +236,10 @@ bool Session::premiumPossible() const {
return premium() || _premiumPossible.current();
}
bool Session::premiumBadgesShown() const {
return supportMode() || premiumPossible();
}
rpl::producer<bool> Session::premiumPossibleValue() const {
using namespace rpl::mappers;