mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
Fix settings page can open settings page via more vert menu
This commit is contained in:
@@ -129,7 +129,7 @@ class _ServerSettingsPage extends State<ServerSettingsPage>
|
||||
leading: IconButton(
|
||||
icon: const Icon(Icons.arrow_back),
|
||||
onPressed: () {
|
||||
context.canPop() ? context.pop() : context.go("/");
|
||||
context.canPop() ? context.pop() : context.go("/settings");
|
||||
},
|
||||
),
|
||||
title: Text(i18n.server),
|
||||
|
||||
@@ -87,7 +87,7 @@ class _ServerUrlSettingsPage extends State<ServerUrlSettingsPage>
|
||||
? IconButton(
|
||||
icon: const Icon(Icons.arrow_back),
|
||||
onPressed: () {
|
||||
context.canPop() ? context.pop() : context.go("/");
|
||||
context.canPop() ? context.pop() : context.go("/settings");
|
||||
},
|
||||
)
|
||||
: null,
|
||||
|
||||
Reference in New Issue
Block a user