feat: bookmark the site directory on a first start
This commit is contained in:
parent
95602ac623
commit
dcb70a93d1
14 changed files with 506 additions and 1 deletions
|
|
@ -101,6 +101,11 @@ class AppDependencies {
|
|||
Future<void> start() async {
|
||||
await settings.load();
|
||||
await applyLanguage();
|
||||
// A fresh install starts with the project's directory of sites
|
||||
// bookmarked, so the reader has somewhere to go; it is given once, so
|
||||
// removing it is the reader's own and it never comes back.
|
||||
await db.seedDirectoryBookmark(
|
||||
'https://mews.page/directory', strings.t('bookmarks-directory-title'));
|
||||
await bookmarks.load();
|
||||
await subscriptions.load();
|
||||
await browser.restoreLastSession();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue