feat: input_method_auto_translate

This commit is contained in:
2024-11-23 21:51:36 +08:00
parent cd788b6fe5
commit f8a846e706
17 changed files with 229 additions and 24 deletions

View File

@ -196,8 +196,8 @@ class _$HomeDownloaderUIStateImpl implements _HomeDownloaderUIState {
.equals(other._waitingTasks, _waitingTasks) &&
const DeepCollectionEquality()
.equals(other._stoppedTasks, _stoppedTasks) &&
(identical(other.globalStat, globalStat) ||
other.globalStat == globalStat));
const DeepCollectionEquality()
.equals(other.globalStat, globalStat));
}
@override
@ -206,7 +206,7 @@ class _$HomeDownloaderUIStateImpl implements _HomeDownloaderUIState {
const DeepCollectionEquality().hash(_tasks),
const DeepCollectionEquality().hash(_waitingTasks),
const DeepCollectionEquality().hash(_stoppedTasks),
globalStat);
const DeepCollectionEquality().hash(globalStat));
/// Create a copy of HomeDownloaderUIState
/// with the given fields replaced by the non-null parameter values.