Skip to content

Commit

Permalink
IOS-1733 Delete widgetTaskDone toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
mgolovko committed Sep 18, 2023
1 parent d875f1f commit 782fdb3
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ final class ListWidgetViewModel: WidgetContainerContentViewModelProtocol, Observ
}

private func updateDone(details: ObjectDetails) {
guard FeatureFlags.widgetTaskDone else { return }
guard details.layoutValue == .todo else { return }

Task {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,6 @@ final class TreeWidgetViewModel: ObservableObject, WidgetContainerContentViewMod
}

private func updateDone(details: ObjectDetails) {
guard
FeatureFlags.widgetTaskDone else { return }
guard details.layoutValue == .todo else { return }

Task {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ public extension FeatureDescription {
defaultValue: true
)

static let widgetTaskDone = FeatureDescription(
title: "Widget task done - IOS-1577",
type: .feature(author: "m@anytype.io", releaseVersion: "0.25.0"),
defaultValue: true
)

static let newCodeLanguages = FeatureDescription(
title: "New code languages - IOS-987",
type: .feature(author: "m@anytype.io", releaseVersion: "0.26.0"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ public extension FeatureFlags {
value(for: .migrationGuide)
}

static var widgetTaskDone: Bool {
value(for: .widgetTaskDone)
}

static var newCodeLanguages: Bool {
value(for: .newCodeLanguages)
}
Expand Down Expand Up @@ -65,7 +61,6 @@ public extension FeatureFlags {
.fullInlineSetImpl,
.dndOnCollectionsAndSets,
.migrationGuide,
.widgetTaskDone,
.newCodeLanguages,
.newSetSettings,
.rainbowViews,
Expand Down

0 comments on commit 782fdb3

Please sign in to comment.