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