mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Play emoji status only twice in main menu.
This commit is contained in:
@@ -64,6 +64,7 @@ namespace Settings {
|
||||
namespace {
|
||||
|
||||
constexpr auto kSaveBioTimeout = 1000;
|
||||
constexpr auto kPlayStatusLimit = 2;
|
||||
|
||||
class ComposedBadge final : public Ui::RpWidget {
|
||||
public:
|
||||
@@ -99,6 +100,7 @@ ComposedBadge::ComposedBadge(
|
||||
st::settingsInfoPeerBadge,
|
||||
session->user(),
|
||||
std::move(animationPaused),
|
||||
kPlayStatusLimit,
|
||||
Info::Profile::Badge::Premium) {
|
||||
if (hasUnread) {
|
||||
_unread = CreateUnread(this, rpl::single(
|
||||
|
Reference in New Issue
Block a user