mirror of
https://github.com/openharmony/applications_systemui.git
synced 2026-07-19 19:44:41 -04:00
!373 fix-componentPropsLint
Merge pull request !373 from zhangpan/fix-componentPropsLint
This commit is contained in:
@@ -33,6 +33,7 @@ const NOTIFICATION_TITLE_ICON_MARGIN = 24;
|
||||
@Component
|
||||
export default struct Notification {
|
||||
@StorageLink('notificationList') notificationList: any[] = []
|
||||
@State isEnd: boolean = false
|
||||
|
||||
aboutToAppear() {
|
||||
Log.showInfo(TAG, `aboutToAppear Start`);
|
||||
@@ -54,7 +55,10 @@ export default struct Notification {
|
||||
.margin({ top: NO_NOTIFICATION_TOP_MARGIN })
|
||||
} else {
|
||||
Column() {
|
||||
NotificationListComponent({ config: { itemMargin: NOTIFICATION_ITEM_MARGIN } })
|
||||
NotificationListComponent({
|
||||
config: { itemMargin: NOTIFICATION_ITEM_MARGIN },
|
||||
listIsEnd: $isEnd
|
||||
})
|
||||
}
|
||||
.flexShrink(1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user