diff --git a/src/app/modules/main/activity_center/io_interface.nim b/src/app/modules/main/activity_center/io_interface.nim index cd02a1a770..a731b82b2f 100644 --- a/src/app/modules/main/activity_center/io_interface.nim +++ b/src/app/modules/main/activity_center/io_interface.nim @@ -27,7 +27,7 @@ method unreadActivityCenterNotificationsCount*(self: AccessInterface): int {.bas method convertToItems*(self: AccessInterface, activityCenterNotifications: seq[ActivityCenterNotificationDto]): seq[Item] {.base.} = raise newException(ValueError, "No implementation available") -method getActivityCenterNotifications*(self: AccessInterface) {.base.} = +method getActivityCenterNotifications*(self: AccessInterface): seq[Item] {.base.} = raise newException(ValueError, "No implementation available") method markAllActivityCenterNotificationsRead*(self: AccessInterface): string {.base.} = diff --git a/src/app/modules/main/activity_center/module.nim b/src/app/modules/main/activity_center/module.nim index 8ddbf50fad..c790b11eb2 100644 --- a/src/app/modules/main/activity_center/module.nim +++ b/src/app/modules/main/activity_center/module.nim @@ -107,7 +107,7 @@ method getActivityCenterNotifications*[T](self: Module[T]): seq[notification_ite method markAllActivityCenterNotificationsRead*[T](self: Module[T]): string = self.controller.markAllActivityCenterNotificationsRead() -method markAllActivityCenterNotificationsReadDone*[T](self: Module[T]): string = +method markAllActivityCenterNotificationsReadDone*[T](self: Module[T]) = self.view.markAllActivityCenterNotificationsReadDone() method markActivityCenterNotificationRead*[T]( diff --git a/src/app/modules/main/activity_center/view.nim b/src/app/modules/main/activity_center/view.nim index 6d8fa4bbbc..1dc770a180 100644 --- a/src/app/modules/main/activity_center/view.nim +++ b/src/app/modules/main/activity_center/view.nim @@ -51,7 +51,7 @@ QtObject: self.model.updateUnreadCount(count) proc loadMoreNotifications(self: View) {.slot.} = - self.delegate.getActivityCenterNotifications() + discard self.delegate.getActivityCenterNotifications() proc markAllActivityCenterNotificationsRead(self: View): string {.slot.} = result = self.delegate.markAllActivityCenterNotificationsRead()