刷新按钮打乱子分类顺序及内部单词
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -146,7 +146,7 @@ final class WordListViewController: UIViewController {
|
||||
@objc private func shuffleWords() {
|
||||
Haptics.selection()
|
||||
if var subs = subcategories {
|
||||
subs = subs.map { sub in
|
||||
subs = subs.shuffled().map { sub in
|
||||
var s = sub
|
||||
s.words = sub.words.shuffled()
|
||||
return s
|
||||
|
||||
Reference in New Issue
Block a user