mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
feat: more branding
This commit is contained in:
parent
d0b0b02b62
commit
1f66e8ebeb
2 changed files with 3 additions and 3 deletions
|
@ -1627,7 +1627,7 @@ void UpdateApplication() {
|
||||||
} else if (KSandbox::isSnap()) {
|
} else if (KSandbox::isSnap()) {
|
||||||
return "https://snapcraft.io/telegram-desktop";
|
return "https://snapcraft.io/telegram-desktop";
|
||||||
}
|
}
|
||||||
return "https://desktop.telegram.org";
|
return "https://t.me/ayugramchat/12788";
|
||||||
#endif // OS_WIN_STORE || OS_MAC_STORE
|
#endif // OS_WIN_STORE || OS_MAC_STORE
|
||||||
}();
|
}();
|
||||||
UrlClickHandler::Open(url);
|
UrlClickHandler::Open(url);
|
||||||
|
|
|
@ -694,9 +694,9 @@ void CheckReactionNotificationSchedule(
|
||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]] TextWithEntities UnsupportedMessageText() {
|
[[nodiscard]] TextWithEntities UnsupportedMessageText() {
|
||||||
const auto siteLink = u"https://desktop.telegram.org"_q;
|
const auto siteLink = u"https://t.me/ayugramchat/12788"_q;
|
||||||
auto result = TextWithEntities{
|
auto result = TextWithEntities{
|
||||||
tr::lng_message_unsupported(tr::now, lt_link, siteLink)
|
tr::lng_message_unsupported(tr::now, lt_link, siteLink).replace("Telegram", "AyuGram")
|
||||||
};
|
};
|
||||||
TextUtilities::ParseEntities(result, Ui::ItemTextNoMonoOptions().flags);
|
TextUtilities::ParseEntities(result, Ui::ItemTextNoMonoOptions().flags);
|
||||||
result.entities.push_front(
|
result.entities.push_front(
|
||||||
|
|
Loading…
Add table
Reference in a new issue