mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
fix multiple setting pages and search pages
This commit is contained in:
@@ -89,14 +89,14 @@ class _MainPageState extends State<MainPage> {
|
||||
icon: Icons.search,
|
||||
label: "Search".tl,
|
||||
onTap: () {
|
||||
to(() => const SearchPage());
|
||||
to(() => const SearchPage(), preventDuplicate: true);
|
||||
},
|
||||
),
|
||||
PaneActionEntry(
|
||||
icon: Icons.settings,
|
||||
label: "Settings".tl,
|
||||
onTap: () {
|
||||
to(() => const SettingsPage());
|
||||
to(() => const SettingsPage(), preventDuplicate: true);
|
||||
},
|
||||
)
|
||||
],
|
||||
|
Reference in New Issue
Block a user