diff --git a/mobile/lib/ui/viewer/actions/file_selection_actions_widget.dart b/mobile/lib/ui/viewer/actions/file_selection_actions_widget.dart index 8b56d1d010..02ca790c66 100644 --- a/mobile/lib/ui/viewer/actions/file_selection_actions_widget.dart +++ b/mobile/lib/ui/viewer/actions/file_selection_actions_widget.dart @@ -176,7 +176,7 @@ class _FileSelectionActionsWidgetState SelectionActionButton( icon: Icons.remove_circle_outline, labelText: S.of(context).notPersonLabel(widget.person!.data.name), - onTap: anyUploadedFiles ? _onNotpersonClicked : null, + onTap: _onNotpersonClicked, ), ); if (ownedFilesCount == 1) { @@ -195,7 +195,7 @@ class _FileSelectionActionsWidgetState SelectionActionButton( labelText: S.of(context).notThisPerson, icon: Icons.remove_circle_outline, - onTap: anyUploadedFiles ? _onRemoveFromClusterClicked : null, + onTap: _onRemoveFromClusterClicked, ), ); }