only show relevant calendar sync options
This commit is contained in:
parent
c2754b83ae
commit
afb9e5ee2c
@ -1,5 +1,7 @@
|
||||
// ignore_for_file: use_build_context_synchronously
|
||||
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:refilc/api/providers/user_provider.dart';
|
||||
import 'package:refilc/models/linked_account.dart';
|
||||
import 'package:refilc/models/settings.dart';
|
||||
@ -196,6 +198,7 @@ class CalendarSyncScreenState extends State<CalendarSyncScreen>
|
||||
if (thirdPartyProvider.linkedAccounts.isEmpty)
|
||||
Column(
|
||||
children: [
|
||||
if (Platform.isAndroid)
|
||||
SplittedPanel(
|
||||
title: Text('choose_account'.i18n),
|
||||
padding: EdgeInsets.zero,
|
||||
@ -230,9 +233,10 @@ class CalendarSyncScreenState extends State<CalendarSyncScreen>
|
||||
),
|
||||
],
|
||||
),
|
||||
const SizedBox(
|
||||
height: 9.0,
|
||||
),
|
||||
// const SizedBox(
|
||||
// height: 9.0,
|
||||
// ),
|
||||
if (Platform.isIOS)
|
||||
SplittedPanel(
|
||||
padding: EdgeInsets.zero,
|
||||
cardPadding: const EdgeInsets.all(4.0),
|
||||
|
Loading…
x
Reference in New Issue
Block a user