Simplify some code.

This commit is contained in:
John Preston
2022-12-14 11:53:36 +04:00
parent bd1d7f4d96
commit ca1c826c5c
2 changed files with 2 additions and 2 deletions
@@ -728,7 +728,7 @@ SessionController::SessionController(
, _defaultChatTheme(std::make_shared<Ui::ChatTheme>())
, _chatStyle(std::make_unique<Ui::ChatStyle>())
, _cachedReactionIconFactory(std::make_unique<ReactionIconFactory>())
, _giftPremiumValidator(GiftPremiumValidator(this)) {
, _giftPremiumValidator(this) {
init();
_chatStyleTheme = _defaultChatTheme;