This commit is contained in:
DESKTOP-I3JPKHK\wy 2025-11-28 11:47:50 +08:00
parent ec343386f1
commit 1c1934109f
1 changed files with 13 additions and 11 deletions

View File

@ -870,7 +870,6 @@ mixin _UpgradeDialogLogic<T extends StatefulWidget> on State<T> {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Row(
crossAxisAlignment: CrossAxisAlignment.end,
children: [
Container(
@ -896,22 +895,25 @@ mixin _UpgradeDialogLogic<T extends StatefulWidget> on State<T> {
fontWeight: FontWeight.bold,
),
),
if(info.apkSize != null) ...[
if (info.apkSize != null) ...[
const SizedBox(width: 6),
Text(
formatBytes(info.apkSize!),
textAlign:TextAlign.end,
style: TextStyle(
color: colorScheme.onPrimary,
fontSize: 8,
fontWeight: FontWeight.w500,
Padding(
padding: EdgeInsetsGeometry.only(top: 4),
child: Text(
formatBytes(info.apkSize!),
textAlign: TextAlign.end,
style: TextStyle(
color: colorScheme.onPrimary,
fontSize: 8,
fontWeight: FontWeight.w500,
),
),
),
)
]
],
),
),
// if (info.isForceUpdate) ...[
// const SizedBox(width: 8),
// Container(