change profile getter to check for patient profile

This commit is contained in:
2024-12-18 11:25:36 +02:00
parent 292c632e5a
commit 2c0560c475
4 changed files with 101 additions and 23 deletions

View File

@@ -35,6 +35,7 @@ class HomeArguments {
final AppUser signedInUser;
final BusinessUser? businessUser;
final Business? business;
final Patient? patient;
final List<MIHNotification> notifi;
final String profilePicUrl;
@@ -42,6 +43,7 @@ class HomeArguments {
this.signedInUser,
this.businessUser,
this.business,
this.patient,
this.notifi,
this.profilePicUrl,
);