111
This commit is contained in:
parent
2a04882da5
commit
ec343386f1
|
|
@ -870,6 +870,8 @@ mixin _UpgradeDialogLogic<T extends StatefulWidget> on State<T> {
|
|||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Row(
|
||||
|
||||
crossAxisAlignment: CrossAxisAlignment.end,
|
||||
children: [
|
||||
Container(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 4),
|
||||
|
|
@ -894,24 +896,22 @@ mixin _UpgradeDialogLogic<T extends StatefulWidget> on State<T> {
|
|||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
Container(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 4, vertical: 2),
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.white,
|
||||
borderRadius: BorderRadius.circular(4),
|
||||
),
|
||||
child: Text(
|
||||
if(info.apkSize != null) ...[
|
||||
const SizedBox(width: 6),
|
||||
Text(
|
||||
formatBytes(info.apkSize!),
|
||||
textAlign:TextAlign.end,
|
||||
style: TextStyle(
|
||||
color: Colors.black,
|
||||
fontSize: 10,
|
||||
color: colorScheme.onPrimary,
|
||||
fontSize: 8,
|
||||
fontWeight: FontWeight.w500,
|
||||
),
|
||||
),
|
||||
]
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
// if (info.isForceUpdate) ...[
|
||||
// const SizedBox(width: 8),
|
||||
// Container(
|
||||
|
|
|
|||
Loading…
Reference in New Issue