From bf4b3105f614f399dd3e29d66e4b0c99690336f6 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Sat, 30 Apr 2022 13:24:22 +0400 Subject: [PATCH 1/2] Roll back to global module cache --- build-system/Make/Make.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-system/Make/Make.py b/build-system/Make/Make.py index 1bdb56fa31..7de3beb456 100644 --- a/build-system/Make/Make.py +++ b/build-system/Make/Make.py @@ -44,7 +44,7 @@ class BazelCommandLine: # repository), but disabling it also causes a noticeable build time regression # so it can be explicitly re-enabled by users who are not affected by those # crashes. - #'--features=swift.use_global_module_cache', + '--features=swift.use_global_module_cache', # https://docs.bazel.build/versions/master/command-line-reference.html # Print the subcommand details in case of failure. From 6e01f6939c01621949adaa026fa51663d8176553 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Sat, 30 Apr 2022 13:25:28 +0400 Subject: [PATCH 2/2] Remove debugging code --- submodules/TelegramUI/Sources/ChatHistoryListNode.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/submodules/TelegramUI/Sources/ChatHistoryListNode.swift b/submodules/TelegramUI/Sources/ChatHistoryListNode.swift index f386a7f734..f8a9fb6807 100644 --- a/submodules/TelegramUI/Sources/ChatHistoryListNode.swift +++ b/submodules/TelegramUI/Sources/ChatHistoryListNode.swift @@ -1806,10 +1806,6 @@ public final class ChatHistoryListNode: ListView, ChatHistoryNode { } private func processDisplayedItemRangeChanged(displayedRange: ListViewDisplayedItemRange, transactionState: ChatHistoryTransactionOpaqueState) { - if "".isEmpty { - return - } - let historyView = transactionState.historyView var isTopReplyThreadMessageShownValue = false var topVisibleMessageRange: ChatTopVisibleMessageRange?