mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-11-03 02:24:48 -05:00
Improve throttling recovery guidance in apps and docs
This commit is contained in:
1 parent
1a9a603bd6
commit
b0bb60b7db
20 files changed
+297
-80
No files matched your search
@@ -822,11 +822,13 @@ public class ProcessQueueViewModel : ReactiveObject
|
||||
if (show)
|
||||
{
|
||||
var title = book.LibraryBook.Book.TitleWithSubtitle;
|
||||
var locale = AppScaffolding.LicenseRecoveryGuidance.GetRegistrationLocale(book.LibraryBook);
|
||||
var updateStatus = AppScaffolding.LibationScaffolding.LastVersionCheckOutcome;
|
||||
var body = result switch
|
||||
{
|
||||
ProcessBookResult.LicenseDeniedPossibleOutage => ContentLicenseDeniedUserMessage.BuildDialogBodyForPossibleOutage(title),
|
||||
ProcessBookResult.LicenseDeniedThrottled => ContentLicenseDeniedUserMessage.BuildDialogBodyForThrottling(title),
|
||||
_ => ContentLicenseDeniedUserMessage.BuildDialogBodyForPlusCatalog(title)
|
||||
ProcessBookResult.LicenseDeniedPossibleOutage => ContentLicenseDeniedUserMessage.BuildDialogBodyForPossibleOutage(title, locale, updateStatus),
|
||||
ProcessBookResult.LicenseDeniedThrottled => ContentLicenseDeniedUserMessage.BuildDialogBodyForThrottling(title, locale, updateStatus),
|
||||
_ => ContentLicenseDeniedUserMessage.BuildDialogBodyForPlusCatalog(title, locale, updateStatus)
|
||||
};
|
||||
await MessageBoxBase.Show(
|
||||
body,
|
||||
|
||||
Reference in new issue
Block a user