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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user