mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 22:54:01 +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(
|
bool InnerWidget::lookupIsInBotAppButton(
|
||||||
Row *row,
|
Row *row,
|
||||||
QPoint localPosition) {
|
QPoint localPosition) {
|
||||||
|
if (_narrowRatio) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if (const auto user = MaybeBotWithApp(row)) {
|
if (const auto user = MaybeBotWithApp(row)) {
|
||||||
const auto it = _rightButtons.find(user->id);
|
const auto it = _rightButtons.find(user->id);
|
||||||
if (it != _rightButtons.end()) {
|
if (it != _rightButtons.end()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue