opt.: only req noti perm on Android

This commit is contained in:
lollipopkit
2024-04-08 20:13:00 +08:00
parent 439208605b
commit aed5a63a19
9 changed files with 72 additions and 65 deletions

View File

@@ -280,7 +280,8 @@ Future<void> _onPkg(BuildContext context, ServerPrivateInfo spi) async {
final gotoUpgrade = await context.showRoundDialog<bool>(
title: Text(l10n.attention),
child: SingleChildScrollView(
child: Text('${l10n.pkgUpgradeTip}\n${l10n.foundNUpdate(upgradeable.length)}\n\n$upgradeCmd'),
child: Text(
'${l10n.pkgUpgradeTip}\n${l10n.foundNUpdate(upgradeable.length)}\n\n$upgradeCmd'),
),
actions: [
CountDownBtn(