opt: more linter (#1765)

* opt: more linter

* fix [skip ci]

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>

---------

Co-authored-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
My-Responsitories
2025-12-07 23:46:42 +08:00
committed by GitHub
parent 3787f99d35
commit 773bdafec3
22 changed files with 55 additions and 49 deletions

View File

@@ -704,7 +704,7 @@ class RichTextEditingController extends TextEditingController {
}
}
if (addIndex != null && toAdd != null && toAdd.isNotEmpty == true) {
if (addIndex != null && toAdd != null && toAdd.isNotEmpty) {
items.insertAll(addIndex, toAdd);
}
if (toDel != null && toDel.isNotEmpty) {