diff --git a/FlexibleContactsSort/ContactsSortingConfig.cs b/FlexibleContactsSort/ContactsSortingConfig.cs index 871cbdc..520049c 100644 --- a/FlexibleContactsSort/ContactsSortingConfig.cs +++ b/FlexibleContactsSort/ContactsSortingConfig.cs @@ -19,7 +19,11 @@ internal sealed class ContactsSortingConfig : ConfigSection private readonly DefiningConfigKey _onlineStatusPriorityKey = new("OnlineStatusPriority", "Priority of the contact's online status. Set 0 to ignore; negative to invert.", () => 1_000); private readonly DefiningConfigKey _outgoingContactRequestPriorityKey = new("OutgoingContactRequestPriority", "Priority of the contact being an outgoing request. Set 0 to ignore; negative to invert.", () => 1_000_000); private readonly DefiningConfigKey> _pinnedContactsKey = new("PinnedContacts", "List of Contacts to always keep at the top.", () => new(), internalAccessOnly: true); - private readonly QuantifiedDefiningConfigKey _readMessageCooldownKey = new("ReadMessageCooldown", new UnitConfiguration("s", "F0", " ", new[] { "m", "s" }), null, "Delay before a contact with freshly-read messages is counted as such. Set 0 to disable.", () => 120, 0, int.MaxValue); + + private readonly DefiningConfigKey _readMessageCooldownKey = new("ReadMessageCooldown", "Delay before a contact with freshly-read messages is counted as such. Set 0 to disable.", () => 120) + { + new ConfigKeyQuantity(new UnitConfiguration("s", "0", " ", new[] { "m", "s" }), null, 0, int.MaxValue ) + }; public int AlphabeticPriority => _alphabeticPriorityKey.GetValue(); public override string Description => "Contains options for how to sort the Contacts list."; diff --git a/FlexibleContactsSort/FlexibleContactsSort.csproj b/FlexibleContactsSort/FlexibleContactsSort.csproj index 482bbcc..7750989 100644 --- a/FlexibleContactsSort/FlexibleContactsSort.csproj +++ b/FlexibleContactsSort/FlexibleContactsSort.csproj @@ -11,7 +11,7 @@ FlexibleContactSorting Flexible Contact Sorting Banane9 - 0.4.1-beta + 0.4.2-beta This MonkeyLoader mod for Resonite allows sorting contacts flexibly and to your liking, including pinning your favorites to the top. README.md LGPL-3.0-or-later @@ -42,15 +42,15 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all