mirror of
https://github.com/ente-io/ente.git
synced 2025-08-14 02:07:33 +00:00
[mob][photos] Chore
This commit is contained in:
@@ -275,7 +275,7 @@ class _TextInputWidgetState extends State<TextInputWidget> {
|
||||
await widget.onSubmit!.call(_textController.text);
|
||||
} catch (e) {
|
||||
executionState = ExecutionState.error;
|
||||
_debouncer.cancelDebounce();
|
||||
_debouncer.cancelDebounceTimer();
|
||||
_exception = e as Exception;
|
||||
if (e.toString().contains("Incorrect password")) {
|
||||
_logger.warning("Incorrect password");
|
||||
@@ -288,7 +288,7 @@ class _TextInputWidgetState extends State<TextInputWidget> {
|
||||
widget.alwaysShowSuccessState && _debouncer.isActive()
|
||||
? executionState = ExecutionState.successful
|
||||
: null;
|
||||
_debouncer.cancelDebounce();
|
||||
_debouncer.cancelDebounceTimer();
|
||||
if (executionState == ExecutionState.successful) {
|
||||
setState(() {});
|
||||
}
|
||||
|
Reference in New Issue
Block a user