From 0657928e5ee0866e41bc19d912679089be47860c Mon Sep 17 00:00:00 2001 From: Johannes Vedder Date: Thu, 27 Jun 2024 20:11:53 +0200 Subject: [PATCH] chore: cleanup --- core/lib/src/models/tables/study.dart | 5 ----- designer_v2/lib/features/app_controller.g.dart | 2 +- designer_v2/lib/services/notification_dispatcher.dart | 1 - 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/core/lib/src/models/tables/study.dart b/core/lib/src/models/tables/study.dart index 5bf87ee39..3e8ef4faa 100644 --- a/core/lib/src/models/tables/study.dart +++ b/core/lib/src/models/tables/study.dart @@ -327,11 +327,6 @@ class Study extends SupabaseObjectFunctions return status != StudyStatus.draft || !canEdit(user); } - @override - String toString() { - return 'Study{id: $id, title: $title, description: $description, userId: $userId, participation: $participation, resultSharing: $resultSharing, contact: $contact, iconName: $iconName, published: , status: $status, questionnaire: $questionnaire, eligibilityCriteria: $eligibilityCriteria, consent: $consent, interventions: $interventions, observations: $observations, schedule: $schedule, reportSpecification: $reportSpecification, results: $results, collaboratorEmails: $collaboratorEmails, registryPublished: $registryPublished, participantCount: $participantCount, endedCount: $endedCount, activeSubjectCount: $activeSubjectCount, missedDays: $missedDays, repo: $repo, invites: $invites, participants: $participants, participantsProgress: $participantsProgress, createdAt: $createdAt}'; - } - @override int compareTo(Study other) { return id.compareTo(other.id); diff --git a/designer_v2/lib/features/app_controller.g.dart b/designer_v2/lib/features/app_controller.g.dart index 0a42b8814..2888bae08 100644 --- a/designer_v2/lib/features/app_controller.g.dart +++ b/designer_v2/lib/features/app_controller.g.dart @@ -6,7 +6,7 @@ part of 'app_controller.dart'; // RiverpodGenerator // ************************************************************************** -String _$appControllerHash() => r'5f5e1353e3c33dd56d2cf83a2451587ec4000ea0'; +String _$appControllerHash() => r'312b721b74a25c04cc5b5c5cdca0bad788994611'; /// Main controller that's bound to the top-level application widget's state /// diff --git a/designer_v2/lib/services/notification_dispatcher.dart b/designer_v2/lib/services/notification_dispatcher.dart index 5464c5760..09b2e5b4c 100644 --- a/designer_v2/lib/services/notification_dispatcher.dart +++ b/designer_v2/lib/services/notification_dispatcher.dart @@ -54,7 +54,6 @@ class _NotificationDispatcherState @override void initState() { super.initState(); - print("NotificationDispatcher: initState"); _subscription = ref .read(notificationServiceProvider) .watchNotifications()