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),
|
||||
|
||||
@@ -282,8 +282,14 @@ class _MyHomePageState extends State<MyHomePage>
|
||||
UrlText(
|
||||
text: s.aboutThanks,
|
||||
),
|
||||
const UrlText(text: rainSunMeGithub, replace: 'RainSunMe',),
|
||||
const UrlText(text: fectureGithub, replace: 'fecture',)
|
||||
const UrlText(
|
||||
text: rainSunMeGithub,
|
||||
replace: 'RainSunMe',
|
||||
),
|
||||
const UrlText(
|
||||
text: fectureGithub,
|
||||
replace: 'fecture',
|
||||
)
|
||||
],
|
||||
child: Text(s.license),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user