summaryrefslogtreecommitdiff
path: root/Hutch/Views/Lookup
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-04-12 11:49:45 -0500
committerChristian Cleberg <[email protected]>2026-04-12 11:49:45 -0500
commit9e48e4681487b1c69577c0e9e5f83d8d8225e494 (patch)
tree825ce946dac13ad24a123b647722a6cab6c51599 /Hutch/Views/Lookup
parentc0744a35891f89e50ab407a0b8557ce9d5c5e6cc (diff)
downloadhutch-9e48e4681487b1c69577c0e9e5f83d8d8225e494.tar.gz
hutch-9e48e4681487b1c69577c0e9e5f83d8d8225e494.tar.bz2
hutch-9e48e4681487b1c69577c0e9e5f83d8d8225e494.zip
feat: add prioritization of polling hutch-stats for logged in user
Diffstat (limited to 'Hutch/Views/Lookup')
-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