auto fill

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-14 21:12:33 +08:00
parent 553be52260
commit 026e40855c
3 changed files with 3 additions and 1 deletions

View File

@@ -208,6 +208,7 @@ class _LoginPageState extends State<LoginPage> {
keyboardType: TextInputType.visiblePassword,
inputFormatters: [FilteringTextInputFormatter.deny(RegExp(r"\s"))],
controller: _loginPageCtr.passwordTextController,
autofillHints: [AutofillHints.password],
decoration: InputDecoration(
prefixIcon: const Icon(Icons.password),
border: const UnderlineInputBorder(),

View File

@@ -64,6 +64,7 @@ class _WebDavSettingPageState extends State<WebDavSettingPage> {
const SizedBox(height: 20),
TextField(
controller: _passwordCtr,
autofillHints: [AutofillHints.password],
decoration: const InputDecoration(
labelText: '密码',
border: OutlineInputBorder(),

View File

@@ -289,7 +289,7 @@ class LiveMessageStream {
eventListeners.add(func);
}
Future<void> close() async {
void close() {
heartBeat = false;
eventListeners.clear();
_socketSubscription?.cancel();