mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 00:55:12 +00:00
Add "Show Topics List" button to topic profile.
This commit is contained in:
@@ -983,7 +983,9 @@ void SessionController::openForum(
|
||||
if (_openedForum.current() != forum) {
|
||||
resetFakeUnreadWhileOpened();
|
||||
}
|
||||
if (forum && _activeChatEntry.current().key.peer()) {
|
||||
if (forum
|
||||
&& _activeChatEntry.current().key.peer()
|
||||
&& adaptive().isOneColumn()) {
|
||||
clearSectionStack(params);
|
||||
}
|
||||
_openedForum = forum.get();
|
||||
@@ -996,6 +998,9 @@ void SessionController::openForum(
|
||||
{ anim::type::normal, anim::activation::background });
|
||||
}, _openedForumLifetime);
|
||||
}
|
||||
if (params.activation != anim::activation::background) {
|
||||
hideLayer();
|
||||
}
|
||||
}
|
||||
|
||||
void SessionController::closeForum() {
|
||||
|
Reference in New Issue
Block a user