Beta version 4.16.9.

- Show "Frequent contacts" when you focus the search field.
- Show "Recent chats" when you focus the search field.
- Show "Channels" and channel recommendations.
- Allow changing font in Settings > Chat settings > Font family.
This commit is contained in:
John Preston 2024-04-23 22:41:39 +04:00
parent 56bce70558
commit 331e8c3ec6
9 changed files with 24 additions and 28 deletions

View File

@ -10,7 +10,7 @@
<Identity Name="TelegramMessengerLLP.TelegramDesktop"
ProcessorArchitecture="ARCHITECTURE"
Publisher="CN=536BC709-8EE1-4478-AF22-F0F0F26FF64A"
Version="4.16.8.0" />
Version="4.16.9.0" />
<Properties>
<DisplayName>Telegram Desktop</DisplayName>
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>

View File

@ -44,8 +44,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,16,8,0
PRODUCTVERSION 4,16,8,0
FILEVERSION 4,16,9,0
PRODUCTVERSION 4,16,9,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -62,10 +62,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Telegram FZ-LLC"
VALUE "FileDescription", "Telegram Desktop"
VALUE "FileVersion", "4.16.8.0"
VALUE "FileVersion", "4.16.9.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2024"
VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "4.16.8.0"
VALUE "ProductVersion", "4.16.9.0"
END
END
BLOCK "VarFileInfo"

View File

@ -35,8 +35,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,16,8,0
PRODUCTVERSION 4,16,8,0
FILEVERSION 4,16,9,0
PRODUCTVERSION 4,16,9,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -53,10 +53,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Telegram FZ-LLC"
VALUE "FileDescription", "Telegram Desktop Updater"
VALUE "FileVersion", "4.16.8.0"
VALUE "FileVersion", "4.16.9.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2024"
VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "4.16.8.0"
VALUE "ProductVersion", "4.16.9.0"
END
END
BLOCK "VarFileInfo"

View File

@ -22,7 +22,7 @@ constexpr auto AppId = "{53F49750-6209-4FBF-9CA8-7A333C87D1ED}"_cs;
constexpr auto AppNameOld = "Telegram Win (Unofficial)"_cs;
constexpr auto AppName = "Telegram Desktop"_cs;
constexpr auto AppFile = "Telegram"_cs;
constexpr auto AppVersion = 4016008;
constexpr auto AppVersionStr = "4.16.8";
constexpr auto AppBetaVersion = false;
constexpr auto AppVersion = 4016009;
constexpr auto AppVersionStr = "4.16.9";
constexpr auto AppBetaVersion = true;
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;

View File

@ -1225,7 +1225,6 @@ void Suggestions::paintEvent(QPaintEvent *e) {
const auto slide = st::topPeers.height + st::searchedBarHeight;
const auto right = (_tab.current() == Tab::Channels);
const auto progress = _slideAnimation.value(right ? 1. : 0.);
const auto shift = st::topPeers.height + st::searchedBarHeight;
p.setOpacity(1. - progress);
p.drawPixmap(
anim::interpolate(0, -slide, progress),

View File

@ -780,8 +780,6 @@ void WebPage::draw(Painter &p, const PaintContext &context) const {
const auto offsetY = (single - size.height()) / 2.;
const auto x = j * single + offsetX;
const auto y = i * single + offsetY;
const auto w = size.width();
const auto h = size.height();
view->draw(p, context, QRect(QPoint(x, y) + topLeft, size));
}
}

View File

@ -129,7 +129,6 @@ private:
[[nodiscard]] bool searching() const;
[[nodiscard]] int shownRowsCount() const;
[[nodiscard]] Entry &shownRowAt(int index);
[[nodiscard]] const Entry &shownRowAt(int index) const;
void applyFilter(const QString &query);
void updateSelected(int selected);
@ -179,8 +178,6 @@ Selector::Selector(
, _scrollTo(std::move(scrollTo))
, _rowsSkip(st::settingsInfoPhotoSkip)
, _rowHeight(_st.height + _st.padding.top() + _st.padding.bottom()) {
Expects(_chosen >= 0 && _chosen < _rows.size());
setMouseTracking(true);
std::move(filter) | rpl::start_with_next([=](const QString &query) {
@ -344,10 +341,6 @@ Selector::Entry &Selector::shownRowAt(int index) {
return searching() ? *_filtered[index] : _rows[index];
}
const Selector::Entry &Selector::shownRowAt(int index) const {
return const_cast<Selector*>(this)->shownRowAt(index);
}
void Selector::setMinHeight(int height) {
_minHeight = height;
if (_minHeight > 0) {
@ -797,7 +790,6 @@ void PreviewPainter::layout() {
_bubble = _content.marginsAdded(msgPadding);
_content.moveTopLeft(-_bubble.topLeft());
_bubble.moveTopLeft({});
const auto bubbleShadow = st::msgShadow;
_outer = QSize(st::boxWidth, st::boxWidth / 2);

View File

@ -1,7 +1,7 @@
AppVersion 4016008
AppVersion 4016009
AppVersionStrMajor 4.16
AppVersionStrSmall 4.16.8
AppVersionStr 4.16.8
BetaChannel 0
AppVersionStrSmall 4.16.9
AppVersionStr 4.16.9
BetaChannel 1
AlphaVersion 0
AppVersionOriginal 4.16.8
AppVersionOriginal 4.16.9.beta

View File

@ -1,3 +1,10 @@
4.16.9 beta (23.04.24)
- Show "Frequent contacts" when you focus the search field.
- Show "Recent chats" when you focus the search field.
- Show "Channels" and channel recommendations.
- Allow changing font in Settings > Chat settings > Font family.
4.16.8 (16.04.24)
- Fix in-app playing of some video and audio files.