From 78e8624a45d321a4a9b5eb208c24e03c79612078 Mon Sep 17 00:00:00 2001 From: Assistant Date: Wed, 18 Dec 2019 19:40:06 -0800 Subject: [PATCH] Improved colorblind accessibility. --- ModAssistant/Pages/Mods.xaml | 2 +- ModAssistant/Pages/Mods.xaml.cs | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ModAssistant/Pages/Mods.xaml b/ModAssistant/Pages/Mods.xaml index e44c6ab..fadefae 100644 --- a/ModAssistant/Pages/Mods.xaml +++ b/ModAssistant/Pages/Mods.xaml @@ -25,7 +25,7 @@ - + diff --git a/ModAssistant/Pages/Mods.xaml.cs b/ModAssistant/Pages/Mods.xaml.cs index 05a34ed..04b3003 100644 --- a/ModAssistant/Pages/Mods.xaml.cs +++ b/ModAssistant/Pages/Mods.xaml.cs @@ -491,6 +491,15 @@ namespace ModAssistant.Pages } } + public string GetVersionDecoration + { + get + { + if (!IsInstalled) return "None"; + return InstalledVersion == ModVersion ? "None" : "Strikethrough"; + } + } + public bool CanDelete { get