fix: follow android 11 storage permissions (#66)

This commit is contained in:
Li Wei authored and GitHub committed 2022-12-16 21:43:06 +08:00
1 parent dda44cc770
commit 21ec1e4539
11 files changed
+55 -90

No files matched your search

+7 -6
View File
@@ -30,13 +30,14 @@ class Item extends StatelessWidget {
),
Row(
children: [
Expanded(
SizedBox(
width: 180,
child: Text(
"${isDone() ? "" : "${Util.fmtByte(task.progress.downloaded)} / "}${Util.fmtByte(task.size)}",
style: context.textTheme.bodyText1
?.copyWith(color: Get.theme.disabledColor),
).padding(left: 18)),
Expanded(
"${isDone() ? "" : "${Util.fmtByte(task.progress.downloaded)} / "}${Util.fmtByte(task.size)}",
style: context.textTheme.bodyText1
?.copyWith(color: Get.theme.disabledColor),
).padding(left: 18)),
Flexible(
child: Row(
mainAxisAlignment: MainAxisAlignment.end,
children: [