Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Moru/Moru/App/AppRouter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,13 @@ struct AppRouter: View {
case .signedIn = newState {
didCompleteAccountEntry = true
}
if case .signedIn = newState {
// Ask right after login instead of waiting for the user to opt into
// AI routine creation later. A no-op once the user has already
// decided (`requestGeminiDataConsentIfNeeded` only acts on
// `.undecided`), so this never re-prompts someone who already chose.
geminiDataConsentStore.requestGeminiDataConsentIfNeeded()
}
routineSyncRuntimeCoordinator?.accountSessionDidChange()
dependencies.routineTTSWarmupCoordinator?.accountSessionDidChange()
dependencies.serverVoiceCommonAudioProvider?.accountSessionDidChange()
Expand Down
Loading