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:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user