mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
Update Gallery Page
This commit is contained in:
@@ -3,6 +3,7 @@ import 'package:flutter_gen/gen_l10n/app_localizations.dart';
|
||||
import 'package:intl/intl.dart';
|
||||
import '../api/gallery.dart';
|
||||
import '../main.dart';
|
||||
import '../utils/filesize.dart';
|
||||
import 'tags.dart';
|
||||
import 'thumbnail.dart';
|
||||
|
||||
@@ -95,6 +96,21 @@ class GalleryInfoDesktop extends StatelessWidget {
|
||||
gData.meta.expunged ? i18n.no : i18n.yes,
|
||||
fontSize: 12,
|
||||
),
|
||||
_KeyValue(
|
||||
"${i18n.fileSize}${i18n.colon}",
|
||||
getFileSize(gData.meta.filesize),
|
||||
fontSize: 12,
|
||||
),
|
||||
_KeyValue(
|
||||
"${i18n.pageLength}${i18n.colon}",
|
||||
i18n.pages(gData.meta.filecount),
|
||||
fontSize: 12,
|
||||
),
|
||||
_KeyValue(
|
||||
"${i18n.gid}${i18n.colon}",
|
||||
gData.meta.gid.toString(),
|
||||
fontSize: 12,
|
||||
),
|
||||
])),
|
||||
const VerticalDivider(indent: 10, endIndent: 10),
|
||||
Expanded(child: TagsPanel(gData.tags)),
|
||||
|
||||
Reference in New Issue
Block a user