0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-19 19:42:17 +02:00
Anki-Android/.idea
shaiguelman 54c8426f8c
Fix crash during deck filtering (#11880)
Fixes a `ConcurrentModificationException`: the wrong list was modified

* Create copy of list when filtering

* Optimize containsFilterString

* Add error catching

* Remove whitespace

* Add comment and better naming

* Rename usage of childrenCopy variable I forgot to rename

* Change to more efficient solution

* Remove unecessary comment

* Add unit tests for DeckFilter

* Remove unused imports

* Add copywrite

* Remove whitespace

* Format fixes

* Add last name to dictionary

* Flipped actual and expected in assert statement

* Removed try/catch block in publishResults()

* Remove unused import

* Added null check

* Revert "Optimize containsFilterString"

This reverts commit 5b617b03f6.

* Reverting to using !! operator on results

* Rename test method
2022-07-21 12:36:37 +01:00
..
codeStyles chore: use recommended Kotlin code style settings 2022-04-29 08:22:35 -05:00
dictionaries Fix crash during deck filtering (#11880) 2022-07-21 12:36:37 +01:00