Skip to content

Commit

Permalink
chore: adjust AlphabetCategory section order
Browse files Browse the repository at this point in the history
和产品商量后确认,字母和数字排在字符前面。这是更符合常规排序逻辑
的做法,也与其它同类产品保持行为一致。

另外,关于其它产品对 emoji 单独分组的逻辑,暂时不采取单独为 emoji
开头的应用单独分组的逻辑。

Log:
  • Loading branch information
BLumia committed Nov 7, 2023
1 parent cffa28d commit b81f89a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions qml/AlphabetCategory.qml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ ColumnLayout {
DelegateModel {
id: delegateAlphabetCategoryModel
model: [
'A', 'B', 'C', 'D',
'E', 'F', 'G', 'H',
'I', 'J', 'K', 'L',
'M', 'N', 'O', 'P',
'Q', 'R', 'S', 'T',
'U', 'V', 'W', 'X',
'Y', 'Z', '&', '#',
'&', '#', 'A', 'B',
'C', 'D', 'E', 'F',
'G', 'H', 'I', 'J',
'K', 'L', 'M', 'N',
'O', 'P', 'Q', 'R',
'S', 'T', 'U', 'V',
'W', 'X', 'Y', 'Z',
]
delegate: ToolButton {
width: alphabetCategoryContainer.cellSize
Expand Down

0 comments on commit b81f89a

Please sign in to comment.