From 65d3ea7cd51213f351f5743b09b8cc34c5692c76 Mon Sep 17 00:00:00 2001 From: dannoe Date: Sat, 18 Apr 2020 17:17:25 +0000 Subject: [PATCH] Set required plgx DotNetVersion to 4.0. Removed .NET Framework 4.5 types. (#125) Fixes #99 Fixes #124 --- KeeTrayTOTP/KeeTrayTOTP.csproj | 2 +- KeeTrayTOTP/TrayTOTP_Plugin.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/KeeTrayTOTP/KeeTrayTOTP.csproj b/KeeTrayTOTP/KeeTrayTOTP.csproj index 92259ad..80cd97b 100644 --- a/KeeTrayTOTP/KeeTrayTOTP.csproj +++ b/KeeTrayTOTP/KeeTrayTOTP.csproj @@ -9,7 +9,7 @@ 2.31 - 3.5 + 4.0 diff --git a/KeeTrayTOTP/TrayTOTP_Plugin.cs b/KeeTrayTOTP/TrayTOTP_Plugin.cs index 93ef1e0..c4c14b2 100644 --- a/KeeTrayTOTP/TrayTOTP_Plugin.cs +++ b/KeeTrayTOTP/TrayTOTP_Plugin.cs @@ -70,7 +70,7 @@ public sealed class KeeTrayTOTPExt : Plugin /// internal const int setstat_int_EntryList_RefreshRate = 300; internal const int setstat_trim_text_length = 25; - internal IReadOnlyList setstat_allowed_lengths = new ReadOnlyCollection(new[] { "6", "7", "8", "S" }); + internal readonly ReadOnlyCollection setstat_allowed_lengths = new ReadOnlyCollection(new[] { "6", "7", "8", "S" }); /// /// Form Help Global Reference.