chore: remove stars animation in settings & reorder

This commit is contained in:
AlexeyZavar
2026-03-19 00:32:53 +03:00
parent 0aa7e85228
commit abb73d624e
2 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -228,11 +228,12 @@ public:
[[nodiscard]] static GhostModeAccountSettings &ghost(uint64 userId);
[[nodiscard]] static GhostModeAccountSettings &ghost();
[[nodiscard]] MessageShotSettings &messageShotSettings() { return _messageShotSettings; }
[[nodiscard]] const MessageShotSettings &messageShotSettings() const { return _messageShotSettings; }
[[nodiscard]] bool useGlobalGhostMode() const { return _useGlobalGhostMode.current(); }
void setUseGlobalGhostMode(bool val);
[[nodiscard]] MessageShotSettings &messageShotSettings() { return _messageShotSettings; }
[[nodiscard]] const MessageShotSettings &messageShotSettings() const { return _messageShotSettings; }
void addShadowBan(int64 id);
void removeShadowBan(int64 id);
[[nodiscard]] bool isShadowBanned(const int64 id) const { return _shadowBanIds.contains(id); }
@@ -676,7 +676,8 @@ void AddPremiumStar(
p.scale(kScale, kScale);
p.translate(-r.center());
}
ministars->paint(p);
// remove cringe stars animation
// ministars->paint(p);
}, ministarsContainer->lifetime());
const auto badge = Ui::CreateChild<Ui::RpWidget>(button.get());