2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-03 16:15:13 +00:00

Better versioning and naming to separate from original app

This commit is contained in:
RadRussianRus
2019-09-27 03:04:15 +03:00
parent 746212fb1c
commit c473b1400a
14 changed files with 54 additions and 46 deletions

View File

@@ -123,7 +123,7 @@ MainWindow::MainWindow(not_null<Controller*> controller)
, _positionUpdatedTimer([=] { savePosition(); })
, _outdated(CreateOutdatedBar(this))
, _body(this)
, _titleText(qsl("Telegram")) {
, _titleText(qsl("Kotatogram")) {
subscribe(Theme::Background(), [=](
const Theme::BackgroundUpdate &data) {
if (data.paletteChanged()) {
@@ -500,7 +500,7 @@ void MainWindow::updateUnreadCounter() {
const auto counter = account().sessionExists()
? account().session().data().unreadBadge()
: 0;
_titleText = (counter > 0) ? qsl("Telegram (%1)").arg(counter) : qsl("Telegram");
_titleText = (counter > 0) ? qsl("Kotatogram (%1)").arg(counter) : qsl("Kotatogram");
unreadCounterChangedHook();
}