private async void OnDiscardEntry() { bool result = await AlertManager.DiscardEntry(); if (result) { await Navigation.PopAsync(); } }
private async void OnDiscardEntry() { bool result = await AlertManager.DiscardEntry(); if (result) { NewBook.RemovedImages.Add(NewEntry.ImagePath); NewBook.Entries.RemoveAt(NewBook.Entries.IndexOf(NewEntry)); await Navigation.PopAsync(); } }