2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Use separate phrases for clearing saved messages.

This commit is contained in:
John Preston
2017-12-06 18:39:27 +04:00
parent c6d3fd883a
commit 775cede16f
7 changed files with 86 additions and 84 deletions

View File

@@ -315,7 +315,8 @@ void WrapWidget::createTopBar() {
_topBar->setTitle(TitleValue(
_controller->section(),
_controller->peer()));
_controller->peer(),
!hasStackHistory()));
if (wrapValue == Wrap::Narrow || hasStackHistory()) {
_topBar->enableBackButton();
_topBar->backRequest()