mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-17 06:37:24 +02:00
Add "View Profile" even with third column info.
This commit is contained in:
parent
7c2d3a8855
commit
9105677325
1 changed files with 6 additions and 3 deletions
|
@ -403,9 +403,12 @@ void Filler::addInfo() {
|
|||
if (_peer->isSelf() || _peer->isRepliesChat()) {
|
||||
return;
|
||||
} else if (_controller->adaptive().isThreeColumn()) {
|
||||
if (Core::App().settings().thirdSectionInfoEnabled()
|
||||
|| Core::App().settings().tabbedReplacedWithInfo()) {
|
||||
return;
|
||||
const auto history = _controller->activeChatCurrent().history();
|
||||
if (history && history->peer == _peer) {
|
||||
if (Core::App().settings().thirdSectionInfoEnabled()
|
||||
|| Core::App().settings().tabbedReplacedWithInfo()) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
const auto controller = _controller;
|
||||
|
|
Loading…
Add table
Reference in a new issue