Skip to content

Commit

Permalink
#13 avoid ugly blink on storing the measurement
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Zhdanov committed Dec 29, 2024
1 parent 66b1df1 commit 45000b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/google/google_helper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Future<http.Client> getAuthenticatedGoogleApiHttpClient() async {
sheets.SheetsApi.driveReadonlyScope
]);
var googleAccount = await signIn.signInSilently();
googleAccount ??= await signIn.signIn();
if (googleAccount == null) {
throw StateError("can not login into google");
}
Expand Down

0 comments on commit 45000b2

Please sign in to comment.