From 596e9c4537df03dafdf0b4299dabfb657751b778 Mon Sep 17 00:00:00 2001 From: Jeremy Beker Date: Tue, 18 Jun 2019 15:37:39 -0400 Subject: [PATCH] Use proper google credential. --- iOS/Settings/SettingsGoogleReaderCompatibleAccountView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iOS/Settings/SettingsGoogleReaderCompatibleAccountView.swift b/iOS/Settings/SettingsGoogleReaderCompatibleAccountView.swift index c36d71023..6ecde08dd 100644 --- a/iOS/Settings/SettingsGoogleReaderCompatibleAccountView.swift +++ b/iOS/Settings/SettingsGoogleReaderCompatibleAccountView.swift @@ -77,7 +77,7 @@ struct SettingsGoogleReaderCompatibleAccountView : View { error = Text("") let emailAddress = viewModel.email.trimmingCharacters(in: .whitespaces) - let credentials = Credentials.basic(username: emailAddress, password: viewModel.password) + let credentials = Credentials.googleBasicLogin(username: emailAddress, password: viewModel.password) guard let apiURL = URL(string: viewModel.apiURL) else { self.error = Text("Invalide API URL.") return