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