diff --git a/lib/pages/drive_detail/drive_detail_page.dart b/lib/pages/drive_detail/drive_detail_page.dart index 1aa1e3b1d7..f74c977cc7 100644 --- a/lib/pages/drive_detail/drive_detail_page.dart +++ b/lib/pages/drive_detail/drive_detail_page.dart @@ -861,22 +861,15 @@ class MobileFolderNavigation extends StatelessWidget { context.read().state is ProfileLoggedIn) ArDriveDropdownItem( onClick: () { - final bloc = context.read(); - - bloc.selectDataItem( - DriveDataTableItemMapper.fromDrive( - state.currentDrive, - (_) => null, - 0, - isOwner, - ), + showDetachDriveDialog( + context: context, + driveID: state.currentDrive.id, + driveName: state.currentDrive.name, ); }, content: _buildItem( - appLocalizationsOf(context).moreInfo, - ArDriveIcons.info( - size: defaultIconSize, - ), + appLocalizationsOf(context).detachDrive, + ArDriveIcons.detach(), ), ), ],