Skip to content

Commit 596541a

Browse files
committed
feat:文件夹不展示缩略图
1 parent 2fe1a37 commit 596541a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

lib/l10n/intl_en_us.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ const translationsEnUS = {
171171
"downloadManagerScreen_menu_save": "Save",
172172
"downloadManagerScreen_tips_saved": "Saved.",
173173
"downloadManagerScreen_tips_saved_first_ios":
174-
"The file has been saved, please open \"File APP\" and go to \"My iPhone\"\-\"ALClient\" to check.",
174+
"The file has been saved. Please open the file manager and check in the \"Downloads\" directory.",
175175
"downloadManagerScreen_tips_saved_first_android":
176176
"The file has been saved, please open the file manager and go to the download directory to view it.",
177177
"downloadManagerScreen_status_waiting": "Waiting...",

lib/l10n/intl_zh_cn.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ const translationsZhCN = {
166166
"downloadManagerScreen_tips_saved": "已保存",
167167
"downloadManagerScreen_tips_saved_first_ios":
168168
"该文件已保存,请打开\"文件APP\",到\"我的iPhone\"-\"ALClient\"查看",
169-
"downloadManagerScreen_tips_saved_first_android": "该文件已保存,请打开文件管理器,到下载目录中查看",
169+
"downloadManagerScreen_tips_saved_first_android": "该文件已保存,请打开文件管理器,到“下载”目录中查看",
170170
"downloadManagerScreen_status_waiting": "等待中...",
171171
"downloadManagerScreen_status_downloading": "下载中...",
172172
"downloadManagerScreen_status_finish": "下载完毕",

lib/screen/favorite_screen.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ class _FavoriteScreenState extends State<FavoriteScreen>
463463
modified: modifyTimeStr,
464464
typeInt: resp.type,
465465
type: resp.getFileType(),
466-
thumb: resp.thumb,
466+
thumb: resp.isDir ? "" : resp.thumb,
467467
sign: resp.sign,
468468
icon: resp.getFileIcon(),
469469
modifiedMilliseconds: modifyTime?.millisecondsSinceEpoch ?? -1,

lib/screen/file_search_screen.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ class FileSearchController extends GetxController {
304304
modified: modifyTimeStr,
305305
typeInt: resp.type,
306306
type: resp.getFileType(),
307-
thumb: resp.thumb,
307+
thumb: resp.isDir ? "" : resp.thumb,
308308
sign: resp.sign,
309309
icon: resp.getFileIcon(),
310310
modifiedMilliseconds: modifyTime?.millisecondsSinceEpoch ?? -1,

lib/screen/recents_screen.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ class _RecentsScreenState extends State<RecentsScreen>
477477
modified: modifyTimeStr,
478478
typeInt: resp.type,
479479
type: resp.getFileType(),
480-
thumb: resp.thumb,
480+
thumb: resp.isDir ? "" : resp.thumb,
481481
sign: resp.sign,
482482
icon: resp.getFileIcon(),
483483
modifiedMilliseconds: modifyTime?.millisecondsSinceEpoch ?? -1,

0 commit comments

Comments
 (0)