fix
- range error when no upgradeable - remove auto input pwd when apt pwd request
This commit is contained in:
@@ -73,9 +73,6 @@ class _AptManagePageState extends State<AptManagePage>
|
||||
// ignore: prefer_function_declarations_over_variables
|
||||
PwdRequestFunc onPwdRequest = (triedTimes, user) async {
|
||||
if (!mounted) return '';
|
||||
if (triedTimes == 1) {
|
||||
return widget.spi.pwd;
|
||||
}
|
||||
await showRoundDialog(
|
||||
context,
|
||||
triedTimes == 3 ? s.lastTry : (user ?? s.unknown),
|
||||
|
||||
Reference in New Issue
Block a user