mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Fix build in Xcode.
This commit is contained in:
@@ -29,7 +29,7 @@ ComposeControls::ComposeControls(
|
|||||||
Mode mode)
|
Mode mode)
|
||||||
: _parent(parent)
|
: _parent(parent)
|
||||||
, _window(window)
|
, _window(window)
|
||||||
, _mode(mode)
|
//, _mode(mode)
|
||||||
, _wrap(std::make_unique<Ui::RpWidget>(parent))
|
, _wrap(std::make_unique<Ui::RpWidget>(parent))
|
||||||
, _send(Ui::CreateChild<Ui::SendButton>(_wrap.get()))
|
, _send(Ui::CreateChild<Ui::SendButton>(_wrap.get()))
|
||||||
, _attachToggle(Ui::CreateChild<Ui::IconButton>(
|
, _attachToggle(Ui::CreateChild<Ui::IconButton>(
|
||||||
|
@@ -105,7 +105,7 @@ private:
|
|||||||
const not_null<QWidget*> _parent;
|
const not_null<QWidget*> _parent;
|
||||||
const not_null<Window::SessionController*> _window;
|
const not_null<Window::SessionController*> _window;
|
||||||
History *_history = nullptr;
|
History *_history = nullptr;
|
||||||
Mode _mode = Mode::Normal;
|
//Mode _mode = Mode::Normal;
|
||||||
|
|
||||||
const std::unique_ptr<Ui::RpWidget> _wrap;
|
const std::unique_ptr<Ui::RpWidget> _wrap;
|
||||||
|
|
||||||
@@ -121,12 +121,12 @@ private:
|
|||||||
rpl::event_stream<not_null<PhotoData*>> _photoChosen;
|
rpl::event_stream<not_null<PhotoData*>> _photoChosen;
|
||||||
rpl::event_stream<ChatHelpers::TabbedSelector::InlineChosen> _inlineResultChosen;
|
rpl::event_stream<ChatHelpers::TabbedSelector::InlineChosen> _inlineResultChosen;
|
||||||
|
|
||||||
bool _recording = false;
|
//bool _recording = false;
|
||||||
bool _inField = false;
|
//bool _inField = false;
|
||||||
bool _inReplyEditForward = false;
|
//bool _inReplyEditForward = false;
|
||||||
bool _inClickable = false;
|
//bool _inClickable = false;
|
||||||
int _recordingSamples = 0;
|
//int _recordingSamples = 0;
|
||||||
int _recordCancelWidth;
|
//int _recordCancelWidth;
|
||||||
|
|
||||||
rpl::lifetime _uploaderSubscriptions;
|
rpl::lifetime _uploaderSubscriptions;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user