summaryrefslogtreecommitdiff
path: root/Hutch/Views/More/ProfileView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Hutch/Views/More/ProfileView.swift')
-rw-r--r--Hutch/Views/More/ProfileView.swift5
1 files changed, 4 insertions, 1 deletions
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