diff options
Diffstat (limited to 'Hutch/Views')
| -rw-r--r-- | Hutch/Views/Lookup/UserProfileView.swift | 5 | ||||
| -rw-r--r-- | Hutch/Views/More/ProfileView.swift | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/Hutch/Views/Lookup/UserProfileView.swift b/Hutch/Views/Lookup/UserProfileView.swift index bc04b08..b467c63 100644 --- a/Hutch/Views/Lookup/UserProfileView.swift +++ b/Hutch/Views/Lookup/UserProfileView.swift @@ -175,7 +175,10 @@ struct UserProfileView: View { ownerUsername: owner, actor: actor, client: appState.client, - statsService: HutchStatsService(configuration: appState.configuration) + statsService: HutchStatsService( + configuration: appState.configuration, + currentActor: appState.currentUser?.canonicalName + ) ) profileViewModel = newViewModel vm = newViewModel diff --git a/Hutch/Views/More/ProfileView.swift b/Hutch/Views/More/ProfileView.swift index a7172e4..53c5ce3 100644 --- a/Hutch/Views/More/ProfileView.swift +++ b/Hutch/Views/More/ProfileView.swift @@ -46,7 +46,10 @@ struct ProfileView: View { ownerUsername: owner, actor: actor, client: appState.client, - statsService: HutchStatsService(configuration: appState.configuration) + statsService: HutchStatsService( + configuration: appState.configuration, + currentActor: appState.currentUser?.canonicalName + ) ) contributionViewModel = newViewModel vm = newViewModel |
