mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -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(),
|
||||
|
||||
@@ -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(),
|
||||
|
||||
@@ -289,7 +289,7 @@ class LiveMessageStream {
|
||||
eventListeners.add(func);
|
||||
}
|
||||
|
||||
Future<void> close() async {
|
||||
void close() {
|
||||
heartBeat = false;
|
||||
eventListeners.clear();
|
||||
_socketSubscription?.cancel();
|
||||
|
||||
Reference in New Issue
Block a user