Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ethan
/
appframe
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 20d1cb78
authored
2026-06-25 12:30:29 +0800
by
tanghuan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
只在iOS上显示Apple账号绑定
1 parent
3729fb2c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
lib/ui/pages/setting_v2/account_page_v2.dart
lib/ui/pages/setting_v2/account_page_v2.dart
View file @
20d1cb7
import
'dart:io'
;
import
'package:appframe/bloc/setting/account_cubit.dart'
;
import
'package:appframe/bloc/setting/account_cubit.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter_bloc/flutter_bloc.dart'
;
import
'package:flutter_bloc/flutter_bloc.dart'
;
...
@@ -72,13 +74,15 @@ class AccountPageV2 extends StatelessWidget {
...
@@ -72,13 +74,15 @@ class AccountPageV2 extends StatelessWidget {
onTap:
()
=>
cubit
.
goBind
(),
onTap:
()
=>
cubit
.
goBind
(),
),
),
const
Divider
(
height:
1
,
thickness:
0.5
,
color:
Color
(
0xFFE5E5E5
)),
const
Divider
(
height:
1
,
thickness:
0.5
,
color:
Color
(
0xFFE5E5E5
)),
_buildItem
(
if
(
Platform
.
isIOS
)
...[
label:
'Apple账号'
,
_buildItem
(
value:
state
.
appleId
.
isNotEmpty
?
'已绑定'
:
'未绑定'
,
label:
'Apple账号'
,
showArrow:
true
,
value:
state
.
appleId
.
isNotEmpty
?
'已绑定'
:
'未绑定'
,
onTap:
state
.
appleId
.
isEmpty
?
()
=>
cubit
.
appleBind
()
:
()
=>
cubit
.
goApple
(),
showArrow:
true
,
),
onTap:
state
.
appleId
.
isEmpty
?
()
=>
cubit
.
appleBind
()
:
()
=>
cubit
.
goApple
(),
const
Divider
(
height:
1
,
thickness:
0.5
,
color:
Color
(
0xFFE5E5E5
)),
),
const
Divider
(
height:
1
,
thickness:
0.5
,
color:
Color
(
0xFFE5E5E5
)),
],
],
],
),
),
),
),
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment