Commit 20d1cb78 by tanghuan

只在iOS上显示Apple账号绑定

1 parent 3729fb2c
import 'dart:io';
import 'package:appframe/bloc/setting/account_cubit.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
......@@ -72,6 +74,7 @@ class AccountPageV2 extends StatelessWidget {
onTap: () => cubit.goBind(),
),
const Divider(height: 1, thickness: 0.5, color: Color(0xFFE5E5E5)),
if (Platform.isIOS) ...[
_buildItem(
label: 'Apple账号',
value: state.appleId.isNotEmpty ? '已绑定' : '未绑定',
......@@ -80,6 +83,7 @@ class AccountPageV2 extends StatelessWidget {
),
const Divider(height: 1, thickness: 0.5, color: Color(0xFFE5E5E5)),
],
],
),
),
Padding(
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!