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