Commit 0e1c5115 by tanghuan

学习机去掉Apple账号绑定的显示

1 parent 0293f311
......@@ -72,13 +72,13 @@ class AccountPageV2 extends StatelessWidget {
onTap: () => cubit.goBind(),
),
const Divider(height: 1, thickness: 0.5, color: Color(0xFFE5E5E5)),
_buildItem(
label: 'Apple账号',
value: state.appleId.isNotEmpty ? '已绑定' : '未绑定',
showArrow: true,
onTap: state.appleId.isEmpty ? () => cubit.appleBind() : () => cubit.goApple(),
),
const Divider(height: 1, thickness: 0.5, color: Color(0xFFE5E5E5)),
// _buildItem(
// label: 'Apple账号',
// value: state.appleId.isNotEmpty ? '已绑定' : '未绑定',
// showArrow: true,
// onTap: state.appleId.isEmpty ? () => cubit.appleBind() : () => cubit.goApple(),
// ),
// const Divider(height: 1, thickness: 0.5, color: Color(0xFFE5E5E5)),
],
),
),
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!