2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Closed alpha version 4007001001: Fix build.

This commit is contained in:
John Preston
2023-04-07 09:00:34 +04:00
parent 004a60ded5
commit 2a06182d1a
2 changed files with 0 additions and 97 deletions

View File

@@ -106,13 +106,6 @@ private:
Ui::FilterLinkHeaderType type,
const QString &title) {
using Type = Ui::FilterLinkHeaderType;
const auto phrase = (type == Type::AddingFilter)
? tr::lng_filters_by_link_sure
: (type == Type::AddingChats)
? tr::lng_filters_by_link_more_sure
: (type == Type::AllAdded)
? tr::lng_filters_by_link_already_about
: tr::lng_filters_by_link_remove_sure;
auto boldTitle = Ui::Text::Bold(title);
return (type == Type::AddingFilter)
? tr::lng_filters_by_link_sure(
@@ -194,7 +187,6 @@ void InitFilterLinkHeader(
const auto guard = gsl::finally([&] { state->processing = false; });
const auto top = box->scrollTop();
const auto height = box->scrollHeight();
const auto headerHeight = std::max(max - top, min);
const auto addedTopHeight = max - headerHeight;
widget->resize(widget->width(), headerHeight);
@@ -739,7 +731,6 @@ void CheckFilterInvite(
already = parseList(data.valready_peers());
});
const auto &filters = owner.chatsFilters();
const auto notLoaded = filterId
&& !ranges::contains(
owner.chatsFilters().list(),