commit 48d8875767cfa36fce7f8c4b121d29b4129c65cf
parent 3f5810eded37da9e371965c9160e00c2fd3c89e1
Author: Michael Camilleri <[email protected]>
Date: Sun, 24 May 2026 09:41:22 +0900
Select external provider if already enabled
Diffstat
| M | Crossmate/Views/SettingsView.swift | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/Crossmate/Views/SettingsView.swift b/Crossmate/Views/SettingsView.swift
@@ -93,6 +93,11 @@ struct SettingsView: View {
.sheet(isPresented: $showingNYTLogin) {
NYTLoginView()
}
+ .onAppear {
+ if externalSource == nil, nytAuth.isSignedIn {
+ externalSource = .newYorkTimes
+ }
+ }
}
}