feat: task file manage (#196)

1. support view task file list
2. support share file on android and iOS
This commit is contained in:
Levi authored and GitHub committed 2023-09-04 13:51:30 +08:00
1 parent b00f4a1ed0
commit c0cd2d7255
14 files changed
+312 -14

No files matched your search

+7
View File
@@ -12,6 +12,13 @@ class Util {
return path;
}
static String safePathJoin(List<String> paths) {
return paths
.map((e) => safeDir(e))
.join("/")
.replaceAll(RegExp(r'//'), "/");
}
static String fmtByte(int byte) {
if (byte < 0) {
return "0 B";