mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
fix: make it build
This commit is contained in:
parent
6a02bd66a9
commit
60a96bf9d6
5 changed files with 4 additions and 9 deletions
|
@ -381,7 +381,7 @@ auto GenerateParticipantString(
|
|||
data,
|
||||
});
|
||||
}
|
||||
const auto username = peer->userName();
|
||||
const auto username = peer->username();
|
||||
if (username.isEmpty()) {
|
||||
return name;
|
||||
}
|
||||
|
|
|
@ -2557,7 +2557,7 @@ void EmojiListWidget::setSelected(OverState newSelected) {
|
|||
|
||||
const auto hasSelection = !v::is_null(_selected);
|
||||
if (hasSelection && Core::App().settings().suggestEmoji()) {
|
||||
Ui::Tooltip::Show(1000, this);
|
||||
Ui::Tooltip::Show(350, this);
|
||||
}
|
||||
|
||||
setCursor(hasSelection ? style::cur_pointer : style::cur_default);
|
||||
|
|
|
@ -377,8 +377,6 @@ private:
|
|||
|
||||
void applyNextSearchQuery();
|
||||
|
||||
void showPreview();
|
||||
|
||||
const std::shared_ptr<Show> _show;
|
||||
const ComposeFeatures _features;
|
||||
Mode _mode = Mode::Full;
|
||||
|
@ -453,9 +451,6 @@ private:
|
|||
rpl::event_stream<FileChosen> _customChosen;
|
||||
rpl::event_stream<> _jumpedToPremium;
|
||||
|
||||
base::Timer _previewTimer;
|
||||
bool _previewShown = false;
|
||||
|
||||
};
|
||||
|
||||
tr::phrase<> EmojiCategoryTitle(int index);
|
||||
|
|
|
@ -48,7 +48,7 @@ public:
|
|||
bool active) override {
|
||||
update();
|
||||
if (active && action && !action->dragText().isEmpty()) {
|
||||
Ui::Tooltip::Show(1000, this);
|
||||
Ui::Tooltip::Show(350, this);
|
||||
} else {
|
||||
Ui::Tooltip::Hide();
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit b893172343871ba854220c0ff670df4ae991bb97
|
||||
Subproject commit 7a859501c14bb041ef8579d0b0724e912221421f
|
Loading…
Add table
Reference in a new issue