Commit 4cfc7fa
committed
fix: remove category check from resetViewState
1. Removed conditional check for FreeCategory in AppList.qml's
resetViewState function
2. Added resetViewState implementation to FreeSortListView.qml that
calls positionViewAtBeginning
3. Now resetViewState works consistently across all category types
4. Previously resetViewState was only working for non-FreeCategory views
fix: 从 resetViewState 中移除类别检查
1. 移除了 AppList.qml 中 resetViewState 函数对 FreeCategory 的条件检查
2. 在 FreeSortListView.qml 中添加了 resetViewState 实现,调用
positionViewAtBeginning
3. 现在 resetViewState 在所有类别类型中都能一致工作
4. 之前 resetViewState 仅对非 FreeCategory 视图有效
Pms: BUG-3359411 parent 0f703a4 commit 4cfc7fa
2 files changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
| 29 | + | |
32 | 30 | | |
33 | 31 | | |
34 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
0 commit comments