From e0b443761862e3e71d991b64fbc596a882f0f249 Mon Sep 17 00:00:00 2001 From: Denis Zhdanov Date: Sat, 28 Dec 2024 22:32:08 +0800 Subject: [PATCH] #13 avoid ugly blink on storing the measurement --- lib/google/google_helper.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/google/google_helper.dart b/lib/google/google_helper.dart index 0250f95..c37275f 100644 --- a/lib/google/google_helper.dart +++ b/lib/google/google_helper.dart @@ -8,7 +8,7 @@ Future getAuthenticatedGoogleApiHttpClient() async { sheets.SheetsApi.spreadsheetsScope, sheets.SheetsApi.driveReadonlyScope ]); - var googleAccount = await signIn.signIn(); + var googleAccount = await signIn.signInSilently(); if (googleAccount == null) { throw StateError("can not login into google"); }