Example #1
0
        private async void AddBookmark()
        {
            if (IsCurrentPageBookmarked)
            {
                return;
            }

            var title = await CreateBookmarkDialog.ShowAsync();

            if (title == null)
            {
                return;
            }
            await _book.AddBookmarkAsync(title, CurrentPageNumber);

            IsCurrentPageBookmarked = true;
        }