Skip to content

Commit 6ab1074

Browse files
dengzhongyuan365-devlzwind
authored andcommitted
fix(addonUi): simplify DetailAddonsItem structure by removing Loader component
Removed the Loader component from DetailAddonsItem.qml, directly integrating DccRepeater for improved performance and clarity in the UI structure. bug: https://pms.uniontech.com/bug-view-355273.html
1 parent 3ae7d11 commit 6ab1074

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/dcc-fcitx5configtool/qml/DetailAddonsItem.qml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ DccObject {
2121
loading = false
2222
}
2323

24-
Loader {
25-
active: !loading
26-
asynchronous: true
27-
sourceComponent: DccRepeater {
24+
DccRepeater {
2825
model: globalAddons
2926
delegate: DccObject {
3027
property bool expanded: true
@@ -92,5 +89,4 @@ DccObject {
9289
}
9390
}
9491
}
95-
}
9692
}

0 commit comments

Comments
 (0)