2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Slightly improved code style for long equality expressions.

This commit is contained in:
23rd
2024-04-11 18:56:11 +03:00
committed by John Preston
parent a37cbd7d05
commit 1c223e570a
48 changed files with 159 additions and 160 deletions

View File

@@ -1211,8 +1211,8 @@ QPointer<Ui::RpWidget> Premium::createPinnedToBottom(
#endif
{
const auto callback = [=](int value) {
const auto options =
_controller->session().api().premium().subscriptionOptions();
auto &api = _controller->session().api();
const auto options = api.premium().subscriptionOptions();
if (options.empty()) {
return;
}