Skip to content

Commit

Permalink
Update drive_detail_page.dart
Browse files Browse the repository at this point in the history
fix mobile view
  • Loading branch information
thiagocarvalhodev committed Sep 26, 2024
1 parent 9d9b16e commit 79e58cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/pages/drive_detail/drive_detail_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import 'package:ardrive/core/activity_tracker.dart';
import 'package:ardrive/dev_tools/app_dev_tools.dart';
import 'package:ardrive/dev_tools/shortcut_handler.dart';
import 'package:ardrive/download/multiple_file_download_modal.dart';
import 'package:ardrive/l11n/l11n.dart';
import 'package:ardrive/misc/resources.dart';
import 'package:ardrive/models/models.dart';
import 'package:ardrive/pages/drive_detail/components/drive_explorer_item_tile.dart';
Expand All @@ -45,7 +46,6 @@ import 'package:ardrive/sync/domain/cubit/sync_cubit.dart';
import 'package:ardrive/utils/app_localizations_wrapper.dart';
import 'package:ardrive/utils/compare_alphabetically_and_natural.dart';
import 'package:ardrive/utils/filesize.dart';
import 'package:ardrive/utils/format_date.dart';
import 'package:ardrive/utils/logger.dart';
import 'package:ardrive/utils/mobile_screen_orientation.dart';
import 'package:ardrive/utils/mobile_status_bar.dart';
Expand Down Expand Up @@ -967,7 +967,7 @@ class ArDriveItemListTile extends StatelessWidget {
],
Flexible(
child: Text(
'Last updated: ${formatDateToUtcString(item.lastUpdated)}',
'Last updated: ${yMMdDateFormatter.format(item.lastUpdated)}',
style: ArDriveTypography.body.xSmallRegular(
color: ArDriveTheme.of(context)
.themeData
Expand Down Expand Up @@ -1382,7 +1382,7 @@ class ArDriveGridItem extends StatelessWidget {
// last updated
Flexible(
child: Text(
'${appLocalizationsOf(context).lastUpdated}: ${formatDateToUtcString(item.lastUpdated)}',
'${appLocalizationsOf(context).lastUpdated}: ${yMMdDateFormatter.format(item.lastUpdated)}',
style: ArDriveTypography.body
.xSmallRegular()
.copyWith(
Expand Down

0 comments on commit 79e58cb

Please sign in to comment.