Skip to content

Commit 61e928d

Browse files
committed
IOS-5072 Removed fixCollectionViewReuseCrashInEditor toggle
1 parent 34fe4a4 commit 61e928d

File tree

3 files changed

+0
-15
lines changed

3 files changed

+0
-15
lines changed

Anytype/Sources/PresentationLayer/TextEditor/EditorPage/EditorPageController.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -563,10 +563,6 @@ private extension EditorPageController {
563563
for: indexPath,
564564
item: block
565565
)
566-
567-
if !FeatureFlags.fixCollectionViewReuseCrashInEditor {
568-
cell.contentConfiguration = block.makeContentConfiguration(maxWidth: collectionView.frame.width)
569-
}
570566
case let .header(header):
571567
return collectionView.dequeueConfiguredReusableCell(
572568
using: headerCellRegistration,

Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
public extension FeatureFlags {
77

88
// Static value reader
9-
static var fixCollectionViewReuseCrashInEditor: Bool {
10-
value(for: .fixCollectionViewReuseCrashInEditor)
11-
}
12-
139
static var loadAttachmentsOnHomePlusMenu: Bool {
1410
value(for: .loadAttachmentsOnHomePlusMenu)
1511
}
@@ -116,7 +112,6 @@ public extension FeatureFlags {
116112

117113
// All toggles
118114
static let features: [FeatureDescription] = [
119-
.fixCollectionViewReuseCrashInEditor,
120115
.loadAttachmentsOnHomePlusMenu,
121116
.vaultBackToRoots,
122117
.showAllButtonInWidgets,

Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ import Foundation
44

55
public extension FeatureDescription {
66

7-
static let fixCollectionViewReuseCrashInEditor = FeatureDescription(
8-
title: "Attempt to fix collection view reuse crash in Editor",
9-
type: .feature(author: "joe_pusya@anytype.io", releaseVersion: "13"),
10-
defaultValue: true
11-
)
12-
137
static let loadAttachmentsOnHomePlusMenu = FeatureDescription(
148
title: "Possibility to load attachments on home + menu",
159
type: .feature(author: "joe_pusya@anytype.io", releaseVersion: "13"),

0 commit comments

Comments
 (0)