Fix build with Xcode.

This commit is contained in:
John Preston 2023-05-19 21:36:54 +04:00
parent d57ada8a64
commit 455cb0d21b
4 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,6 @@ VoiceRecordButton::VoiceRecordButton(
not_null<Ui::RpWidget*> parent,
const style::RecordBar &st)
: AbstractButton(parent)
, _st(st)
, _blobs(std::make_unique<Ui::Paint::Blobs>(
Blobs(),
kLevelDuration,

View File

@ -47,7 +47,6 @@ public:
private:
void init();
const style::RecordBar &_st;
std::unique_ptr<Ui::Paint::Blobs> _blobs;
crl::time _lastUpdateTime = 0;

View File

@ -53,6 +53,8 @@ struct SiblingLayout {
QRect userpic;
QRect nameBoundingRect;
int nameFontSize = 0;
friend inline bool operator==(SiblingLayout, SiblingLayout) = default;
};
struct Layout {

View File

@ -1568,7 +1568,7 @@ bool OverlayWidget::updateControlsAnimation(crl::time now) {
+ (_over == OverRotate ? _rotateNavOver : _rotateNavIcon)
+ (_over == OverMore ? _moreNavOver : _moreNavIcon)
+ ((_stories
&& (_over == OverLeftStories && _over == OverRightStories))
&& (_over == OverLeftStories || _over == OverRightStories))
? _stories->sibling(siblingType).layout.geometry
: QRect())
+ _headerNav