public async void ShareAsync() { if (!await SharingDataModel.ShowMessage()) { return; } _busyOverlay.Closable = true; _busyOverlay.Closing += Cancel; IsBusy = true; using (await _busyOverlay.Start(false)) { await SharingDataModel.UploadBook(Book); IsBusy = false; } }
public async void ShareAsync() { if (Book == null) { return; } if (!await SharingDataModel.ShowMessage()) { return; } _busyOverlay.Closable = true; _busyOverlay.Content = UIStrings.BookInfoPage_Loading; _busyOverlay.Closing += Cancel; using (await _busyOverlay.Start()) { await SharingDataModel.UploadBook(Book); } }