mirror of
https://github.com/tgeorgiadis/quiver-launcher.git
synced 2026-12-06 03:38:02 -05:00
Catalog review search and tag filters, multi-file GameBanana mods, and new library settings. Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
694 B
C#
19 lines
694 B
C#
namespace QuiverLauncher.Services
|
|
{
|
|
/// <summary>
|
|
/// Centralized eligibility for catalog and app-update review modals.
|
|
/// Quiver launcher self-update prompts are always allowed separately.
|
|
/// </summary>
|
|
public static class UpdatePromptPolicy
|
|
{
|
|
public static bool ShouldPromptCatalogUpdates(AppSettings? settings) =>
|
|
settings?.PromptCatalogUpdates == true;
|
|
|
|
public static bool ShouldPromptAppUpdateReviews(AppSettings? settings) =>
|
|
settings?.PromptAppUpdateReviews == true;
|
|
|
|
public static bool ShouldShowLibraryAppUpdateBadges(AppSettings? settings) =>
|
|
settings?.ShowLibraryAppUpdateBadges != false;
|
|
}
|
|
}
|