feat(picker): 统一安卓相册名称本地化
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
export 'video_batch_upload_config.dart';
|
||||
export 'video_batch_upload_service.dart';
|
||||
export 'video_batch_upload_task.dart';
|
||||
export 'video_batch_uploader.dart';
|
||||
export 'video_batch_upload_widgets.dart';
|
||||
|
||||
@@ -2,6 +2,7 @@ import 'dart:io';
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:flutter/widgets.dart';
|
||||
import 'package:flutter_common/utils/asset_picker_localization.dart';
|
||||
import 'package:wechat_assets_picker/wechat_assets_picker.dart';
|
||||
|
||||
import 'video_batch_upload_config.dart';
|
||||
@@ -42,6 +43,8 @@ class VideoBatchUploadPicker {
|
||||
pickerConfig: AssetPickerConfig(
|
||||
maxAssets: maxAssets,
|
||||
requestType: _requestType(assetType),
|
||||
pathNameBuilder: (AssetPathEntity path) =>
|
||||
AssetPickerLocalization.pathName(context, path),
|
||||
),
|
||||
);
|
||||
if (assets == null || assets.isEmpty) {
|
||||
|
||||
Reference in New Issue
Block a user