diff --git a/lib/foundation/favorites.dart b/lib/foundation/favorites.dart index 4ed1cd1..a2aff14 100644 --- a/lib/foundation/favorites.dart +++ b/lib/foundation/favorites.dart @@ -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 find(String id, ComicType type) { diff --git a/lib/pages/main_page.dart b/lib/pages/main_page.dart index 3cf50ea..4610da6 100644 --- a/lib/pages/main_page.dart +++ b/lib/pages/main_page.dart @@ -89,14 +89,14 @@ class _MainPageState extends State { 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); }, ) ],