mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 08:08:19 +08:00
@@ -208,6 +208,7 @@ class _LoginPageState extends State<LoginPage> {
|
|||||||
keyboardType: TextInputType.visiblePassword,
|
keyboardType: TextInputType.visiblePassword,
|
||||||
inputFormatters: [FilteringTextInputFormatter.deny(RegExp(r"\s"))],
|
inputFormatters: [FilteringTextInputFormatter.deny(RegExp(r"\s"))],
|
||||||
controller: _loginPageCtr.passwordTextController,
|
controller: _loginPageCtr.passwordTextController,
|
||||||
|
autofillHints: [AutofillHints.password],
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
prefixIcon: const Icon(Icons.password),
|
prefixIcon: const Icon(Icons.password),
|
||||||
border: const UnderlineInputBorder(),
|
border: const UnderlineInputBorder(),
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ class _WebDavSettingPageState extends State<WebDavSettingPage> {
|
|||||||
const SizedBox(height: 20),
|
const SizedBox(height: 20),
|
||||||
TextField(
|
TextField(
|
||||||
controller: _passwordCtr,
|
controller: _passwordCtr,
|
||||||
|
autofillHints: [AutofillHints.password],
|
||||||
decoration: const InputDecoration(
|
decoration: const InputDecoration(
|
||||||
labelText: '密码',
|
labelText: '密码',
|
||||||
border: OutlineInputBorder(),
|
border: OutlineInputBorder(),
|
||||||
|
|||||||
@@ -289,7 +289,7 @@ class LiveMessageStream {
|
|||||||
eventListeners.add(func);
|
eventListeners.add(func);
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<void> close() async {
|
void close() {
|
||||||
heartBeat = false;
|
heartBeat = false;
|
||||||
eventListeners.clear();
|
eventListeners.clear();
|
||||||
_socketSubscription?.cancel();
|
_socketSubscription?.cancel();
|
||||||
|
|||||||
Reference in New Issue
Block a user