File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -130,9 +130,11 @@ class _ProfilePanelState extends OptimizedState<ProfilePanel> with WidgetsBindin
130130 handlePurchases (details);
131131 });
132132 if (pushService.state! .icloudServices != null ) api.getQuotaInfo (info: pushService.state! .icloudServices! .tokenProvider).then ((quota) => quotaInfo.value = quota);
133- pushService.googleSignIn.signInOffline ().then ((state) {
134- googleCreds.value = state;
135- });
133+ if (kIsDesktop) {
134+ pushService.googleSignIn.signInOffline ().then ((state) {
135+ googleCreds.value = state;
136+ });
137+ }
136138 // api.countRecords(state: pushService.state).then((summary) => cloudMessageSummary.value = summary);
137139 }
138140
Original file line number Diff line number Diff line change @@ -44,9 +44,11 @@ class _FinalizePageState extends OptimizedState<FinalizePage> {
4444 handles = result;
4545 });
4646 });
47- pushService.googleSignIn.signInOffline ().then ((state) {
48- googleCreds.value = state;
49- });
47+ if (kIsDesktop) {
48+ pushService.googleSignIn.signInOffline ().then ((state) {
49+ googleCreds.value = state;
50+ });
51+ }
5052 }
5153
5254 @override
You can’t perform that action at this time.
0 commit comments