Skip to content

Commit d3c4c44

Browse files
yixinsharkdeepin-bot[bot]
authored andcommitted
fix: pinned application, notifications display order is incorrect
as title Log: as title Bug: PMS-299887
1 parent bf5b2ce commit d3c4c44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

panels/notification/center/notifymodel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ bool NotifyModel::greaterNotify(const AppNotifyItem *item1, const AppNotifyItem
411411
// `group` is order high in same group.
412412
if (item1->appName() == item2->appName()) {
413413
if (item1->type() == item2->type()) {
414-
return entity1.cTime() >= entity2.cTime();
414+
return item1->entity().cTime() >= item2->entity().cTime();
415415
}
416416
return item1->type() == NotifyType::Group;
417417
}

0 commit comments

Comments
 (0)