mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
chore: remove stars animation in settings & reorder
This commit is contained in:
@@ -228,11 +228,12 @@ public:
|
|||||||
[[nodiscard]] static GhostModeAccountSettings &ghost(uint64 userId);
|
[[nodiscard]] static GhostModeAccountSettings &ghost(uint64 userId);
|
||||||
[[nodiscard]] static GhostModeAccountSettings &ghost();
|
[[nodiscard]] static GhostModeAccountSettings &ghost();
|
||||||
|
|
||||||
[[nodiscard]] MessageShotSettings &messageShotSettings() { return _messageShotSettings; }
|
|
||||||
[[nodiscard]] const MessageShotSettings &messageShotSettings() const { return _messageShotSettings; }
|
|
||||||
[[nodiscard]] bool useGlobalGhostMode() const { return _useGlobalGhostMode.current(); }
|
[[nodiscard]] bool useGlobalGhostMode() const { return _useGlobalGhostMode.current(); }
|
||||||
void setUseGlobalGhostMode(bool val);
|
void setUseGlobalGhostMode(bool val);
|
||||||
|
|
||||||
|
[[nodiscard]] MessageShotSettings &messageShotSettings() { return _messageShotSettings; }
|
||||||
|
[[nodiscard]] const MessageShotSettings &messageShotSettings() const { return _messageShotSettings; }
|
||||||
|
|
||||||
void addShadowBan(int64 id);
|
void addShadowBan(int64 id);
|
||||||
void removeShadowBan(int64 id);
|
void removeShadowBan(int64 id);
|
||||||
[[nodiscard]] bool isShadowBanned(const int64 id) const { return _shadowBanIds.contains(id); }
|
[[nodiscard]] bool isShadowBanned(const int64 id) const { return _shadowBanIds.contains(id); }
|
||||||
|
|||||||
@@ -676,7 +676,8 @@ void AddPremiumStar(
|
|||||||
p.scale(kScale, kScale);
|
p.scale(kScale, kScale);
|
||||||
p.translate(-r.center());
|
p.translate(-r.center());
|
||||||
}
|
}
|
||||||
ministars->paint(p);
|
// remove cringe stars animation
|
||||||
|
// ministars->paint(p);
|
||||||
}, ministarsContainer->lifetime());
|
}, ministarsContainer->lifetime());
|
||||||
|
|
||||||
const auto badge = Ui::CreateChild<Ui::RpWidget>(button.get());
|
const auto badge = Ui::CreateChild<Ui::RpWidget>(button.get());
|
||||||
|
|||||||
Reference in New Issue
Block a user