mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-03 21:54:05 +02:00
Fixed ability to click on bot app button in narrowed chat list.
This commit is contained in:
parent
fadaf852b7
commit
74b188fa46
1 changed files with 3 additions and 0 deletions
|
@ -1669,6 +1669,9 @@ void InnerWidget::clearIrrelevantState() {
|
|||
bool InnerWidget::lookupIsInBotAppButton(
|
||||
Row *row,
|
||||
QPoint localPosition) {
|
||||
if (_narrowRatio) {
|
||||
return false;
|
||||
}
|
||||
if (const auto user = MaybeBotWithApp(row)) {
|
||||
const auto it = _rightButtons.find(user->id);
|
||||
if (it != _rightButtons.end()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue