mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 07:47:24 +00:00
fix multiple setting pages and search pages
This commit is contained in:
@@ -167,6 +167,13 @@ class LocalFavoritesManager with ChangeNotifier {
|
||||
order_value int
|
||||
);
|
||||
""");
|
||||
_db.execute("""
|
||||
create table if not exists folder_sync (
|
||||
folder_name text primary key,
|
||||
source_key text,
|
||||
source_folder text
|
||||
);
|
||||
""");
|
||||
}
|
||||
|
||||
List<String> find(String id, ComicType type) {
|
||||
|
@@ -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