diff --git a/ground/src/main/java/com/google/android/ground/ui/startup/StartupViewModel.kt b/ground/src/main/java/com/google/android/ground/ui/startup/StartupViewModel.kt index 10faec1a8b..73ec0cef28 100644 --- a/ground/src/main/java/com/google/android/ground/ui/startup/StartupViewModel.kt +++ b/ground/src/main/java/com/google/android/ground/ui/startup/StartupViewModel.kt @@ -29,10 +29,7 @@ internal constructor( /** Initializes the login flow, installing Google Play Services if necessary. */ suspend fun initializeLogin() { - val isGooglePlayServicesAvailable = googleApiManager.installGooglePlayServices() - if (!isGooglePlayServicesAvailable) { - error("Google Play Services installation failed") - } + googleApiManager.installGooglePlayServices() userRepository.init() } }