Skip to content

Commit

Permalink
[mob][photos] removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
AmanRajSinghMourya committed Jun 3, 2024
1 parent 39d50d2 commit 0d99d3e
Showing 1 changed file with 0 additions and 45 deletions.
45 changes: 0 additions & 45 deletions mobile/lib/ui/viewer/actions/file_selection_actions_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -657,51 +657,6 @@ class _FileSelectionActionsWidgetState
final List<EnteFile> ownedSelectedFiles = split.ownedByCurrentUser;
placeholderPath = await _selectedFilesPlaceholderPath(ownedSelectedFiles);
await _sendLink();
// final actionResult = await showActionSheet(
// context: context,
// buttons: [
// ButtonWidget(
// labelText: S.of(context).shareLink,
// buttonType: ButtonType.neutral,
// buttonSize: ButtonSize.large,
// shouldStickToDarkTheme: true,
// buttonAction: ButtonAction.first,
// isInAlert: true,
// ),
// ButtonWidget(
// labelText: S.of(context).manageLink,
// buttonType: ButtonType.secondary,
// buttonSize: ButtonSize.large,
// buttonAction: ButtonAction.second,
// shouldStickToDarkTheme: true,
// isInAlert: true,
// ),
// ButtonWidget(
// labelText: S.of(context).done,
// buttonType: ButtonType.secondary,
// buttonSize: ButtonSize.large,
// buttonAction: ButtonAction.third,
// shouldStickToDarkTheme: true,
// isInAlert: true,
// ),
// ],
// title: S.of(context).publicLinkCreated,
// body: S.of(context).youCanManageYourLinksInTheShareTab,
// actionSheetType: ActionSheetType.defaultActionSheet,
// );
// if (actionResult?.action != null) {
// if (actionResult!.action == ButtonAction.first) {
// placeholderPath =
// await _selectedFilesPlaceholderPath(ownedSelectedFiles);
// await _sendLink();
// }
// if (actionResult.action == ButtonAction.second) {
// await routeToPage(
// context,
// ManageSharedLinkWidget(collection: _cachedCollectionForSharedLink),
// );
// }
// }
widget.selectedFiles.clearAll();
if (mounted) {
setState(() => {});
Expand Down

0 comments on commit 0d99d3e

Please sign in to comment.