Skip to content

Commit 1addf8c

Browse files
committed
IOS-5072 Removed loadAttachmentsOnHomePlusMenu toggle
1 parent 61e928d commit 1addf8c

File tree

3 files changed

+5
-18
lines changed

3 files changed

+5
-18
lines changed

Anytype/Sources/PresentationLayer/Modules/HomeNavigationContainer/Panel/HomeBottomNavigationPanelView.swift

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,11 @@ private struct HomeBottomNavigationPanelViewInternal: View {
9999
Label(Loc.photos, systemImage: "photo")
100100
}
101101

102-
if FeatureFlags.loadAttachmentsOnHomePlusMenu {
103-
Button { model.onCameraSelected() } label: {
104-
Label(Loc.camera, systemImage: "camera")
105-
}
106-
Button { model.onAddFilesSelected() } label: {
107-
Label(Loc.files, systemImage: "doc")
108-
}
102+
Button { model.onCameraSelected() } label: {
103+
Label(Loc.camera, systemImage: "camera")
104+
}
105+
Button { model.onAddFilesSelected() } label: {
106+
Label(Loc.files, systemImage: "doc")
109107
}
110108

111109
Divider()

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 loadAttachmentsOnHomePlusMenu: Bool {
10-
value(for: .loadAttachmentsOnHomePlusMenu)
11-
}
12-
139
static var vaultBackToRoots: Bool {
1410
value(for: .vaultBackToRoots)
1511
}
@@ -112,7 +108,6 @@ public extension FeatureFlags {
112108

113109
// All toggles
114110
static let features: [FeatureDescription] = [
115-
.loadAttachmentsOnHomePlusMenu,
116111
.vaultBackToRoots,
117112
.showAllButtonInWidgets,
118113
.turnOffAutomaticWidgetOpening,

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 loadAttachmentsOnHomePlusMenu = FeatureDescription(
8-
title: "Possibility to load attachments on home + menu",
9-
type: .feature(author: "joe_pusya@anytype.io", releaseVersion: "13"),
10-
defaultValue: true
11-
)
12-
137
static let vaultBackToRoots = FeatureDescription(
148
title: "New old design of vault cells",
159
type: .feature(author: "vova@anytype.io", releaseVersion: "13"),

0 commit comments

Comments
 (0)