fix: 修正回上一頁按鈕跳轉動畫
This commit is contained in:
@@ -328,12 +328,7 @@ class _BasicInfoPageState extends State<BasicInfoPage> {
|
||||
leading: IconButton(
|
||||
icon: Icon(Icons.arrow_back_outlined, size: 28),
|
||||
onPressed: () {
|
||||
Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
builder: (context) => PersonalInfo(email: widget.email), // 修正語法錯誤
|
||||
),
|
||||
);
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
),title: Text('基本資料', style: TextStyle(fontSize: 28)),
|
||||
onTap: () {
|
||||
@@ -490,12 +485,7 @@ class _AccountPageState extends State<AccountPage> {
|
||||
leading: IconButton(
|
||||
icon: Icon(Icons.arrow_back_outlined, size: 28),
|
||||
onPressed: () {
|
||||
Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
builder: (context) => PersonalInfo(email: widget.email), // 修正語法錯誤
|
||||
),
|
||||
);
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
),
|
||||
title: Text('帳號設定', style: TextStyle(fontSize: 28)),
|
||||
|
||||
Reference in New Issue
Block a user