Skip to content

Commit

Permalink
PM-17007: Remove send expiration date (#1297)
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-livefront authored Jan 27, 2025
1 parent 06bc893 commit 497a0f9
Show file tree
Hide file tree
Showing 19 changed files with 5 additions and 500 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -563,9 +563,7 @@
"DeletionTime" = "Deletion time";
"DeletionDateInfo" = "The Send will be permanently deleted on the specified date and time.";
"PendingDelete" = "Pending deletion";
"ExpirationDate" = "Expiration date";
"ExpirationTime" = "Expiration time";
"ExpirationDateInfo" = "If set, access to this Send will expire on the specified date and time.";
"Expired" = "Expired";
"MaximumAccessCount" = "Maximum access count";
"MaximumAccessCountInfo" = "If set, users will no longer be able to access this Send once the maximum access count is reached.";
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ enum AddEditSendItemAction: Equatable {
/// The choose file button was pressed.
case chooseFilePressed

/// The clear expiration date button was pressed.
case clearExpirationDatePressed

/// The custom expiration date was changed.
case customExpirationDateChanged(Date?)

/// The deactivate this send toggle was changed.
case deactivateThisSendChanged(Bool)

Expand All @@ -23,9 +17,6 @@ enum AddEditSendItemAction: Equatable {
/// The dismiss button was pressed.
case dismissPressed

/// The expiration date was changed.
case expirationDateChanged(SendExpirationDateType)

/// The hide my email toggle was changed.
case hideMyEmailChanged(Bool)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,10 @@ class AddEditSendItemProcessor:
switch action {
case .chooseFilePressed:
presentFileSelectionAlert()
case .clearExpirationDatePressed:
state.customExpirationDate = nil
case let .customExpirationDateChanged(newValue):
state.customExpirationDate = newValue
case let .deactivateThisSendChanged(newValue):
state.isDeactivateThisSendOn = newValue
case let .deletionDateChanged(newValue):
state.deletionDate = newValue
case let .expirationDateChanged(newValue):
state.expirationDate = newValue
case .dismissPressed:
coordinator.navigate(to: .cancel)
case let .hideMyEmailChanged(newValue):
Expand Down
Loading

0 comments on commit 497a0f9

Please sign in to comment.