summaryrefslogtreecommitdiff
path: root/Hutch/Views/More
diff options
context:
space:
mode:
Diffstat (limited to 'Hutch/Views/More')
-rw-r--r--Hutch/Views/More/AboutView.swift4
-rw-r--r--Hutch/Views/More/TipStoreViewModel.swift4
2 files changed, 5 insertions, 3 deletions
diff --git a/Hutch/Views/More/AboutView.swift b/Hutch/Views/More/AboutView.swift
index 97ba9f6..22e3d0d 100644
--- a/Hutch/Views/More/AboutView.swift
+++ b/Hutch/Views/More/AboutView.swift
@@ -59,7 +59,7 @@ struct AboutView: View {
SwiftUI.Label("SourceHut Manuals", systemImage: "book")
}
.themedRow()
- Link(destination: URL(string: "https://sr.ht/~ccleberg/Hutch")!) {
+ Link(destination: URL(string: "https://github.com/krazywarez/hutch")!) {
SwiftUI.Label("Project Repository", systemImage: "folder")
}
.themedRow()
@@ -78,7 +78,7 @@ struct AboutView: View {
.foregroundStyle(.secondary)
.themedRow()
- Link(destination: URL(string: "https://krz.sh/hutch/privacy-policy/")!) {
+ Link(destination: URL(string: "https://krz.sh/privacy/hutch")!) {
SwiftUI.Label("Privacy Policy", systemImage: "hand.raised")
}
.themedRow()
diff --git a/Hutch/Views/More/TipStoreViewModel.swift b/Hutch/Views/More/TipStoreViewModel.swift
index bc909c1..043b218 100644
--- a/Hutch/Views/More/TipStoreViewModel.swift
+++ b/Hutch/Views/More/TipStoreViewModel.swift
@@ -32,7 +32,9 @@ final class TipStoreViewModel {
var errorMessage: String?
var statusMessage: String?
- private var transactionUpdatesTask: Task<Void, Never>?
+ // Internal task handle, not observable state; assigned only on the main
+ // actor and read once from the nonisolated deinit.
+ @ObservationIgnored nonisolated(unsafe) private var transactionUpdatesTask: Task<Void, Never>?
init() {
transactionUpdatesTask = Task.detached(priority: .background) {