mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
fix: make it build
This commit is contained in:
@@ -41,7 +41,7 @@ rpl::producer<TextWithEntities> Text() {
|
||||
lt_gpl_link,
|
||||
rpl::single(Ui::Text::Link(
|
||||
"GNU GPL",
|
||||
"https://github.com/AyuGram/AyuGramDesktop/blob/master/LICENSE")),
|
||||
"https://github.com/AyuGram/AyuGramDesktop/blob/dev/LICENSE")),
|
||||
lt_github_link,
|
||||
rpl::single(Ui::Text::Link(
|
||||
"GitHub",
|
||||
|
||||
@@ -712,7 +712,6 @@ HistoryWidget::HistoryWidget(
|
||||
item->mainView()->itemDataChanged();
|
||||
}, lifetime());
|
||||
|
||||
|
||||
rpl::merge(
|
||||
session().changes().peerUpdates(
|
||||
Data::PeerUpdate::Flag::IsBlocked
|
||||
|
||||
@@ -70,7 +70,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
namespace HistoryView {
|
||||
namespace {
|
||||
|
||||
constexpr auto kPlayStatusLimit = 2;
|
||||
constexpr auto kPlayStatusLimit = 12;
|
||||
constexpr auto kMaxWidth = (1 << 16) - 1;
|
||||
constexpr auto kMaxNiceToReadLines = 6;
|
||||
const auto kPsaTooltipPrefix = "cloud_lng_tooltip_psa_";
|
||||
|
||||
@@ -291,11 +291,11 @@ void Manager::buildAppleMenu(QMenu *main) {
|
||||
{
|
||||
auto callback = [this] {
|
||||
withActiveWindow([](not_null<Window::Controller*> window) {
|
||||
window->show(Box(AboutBox));
|
||||
window->show(Box(AboutBox, window->sessionController()));
|
||||
});
|
||||
};
|
||||
const auto about = main->addAction(
|
||||
u"About Telegram"_q,
|
||||
u"About AyuGram"_q,
|
||||
std::move(callback));
|
||||
about->setMenuRole(QAction::AboutQtRole);
|
||||
}
|
||||
@@ -551,7 +551,7 @@ void Manager::buildWindowMenu(QMenu *window) {
|
||||
}
|
||||
|
||||
void Manager::buildMenu() {
|
||||
buildAppleMenu(_menuBar->addMenu(u"Telegram"_q));
|
||||
buildAppleMenu(_menuBar->addMenu(u"AyuGram"_q));
|
||||
buildFileMenu(_menuBar->addMenu(u"File"_q));
|
||||
buildEditMenu(_menuBar->addMenu(u"Edit"_q));
|
||||
buildWindowMenu(_menuBar->addMenu(u"Window"_q));
|
||||
|
||||
@@ -92,6 +92,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "ayu/ui/utils/ayu_profile_values.h"
|
||||
#include "ayu/utils/telegram_helpers.h"
|
||||
|
||||
|
||||
namespace Settings {
|
||||
namespace {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user