summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/ViewModels/ModLinkModel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI.Web/ViewModels/ModLinkModel.cs')
-rw-r--r--src/SMAPI.Web/ViewModels/ModLinkModel.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/SMAPI.Web/ViewModels/ModLinkModel.cs b/src/SMAPI.Web/ViewModels/ModLinkModel.cs
index 3039702e..96f14d48 100644
--- a/src/SMAPI.Web/ViewModels/ModLinkModel.cs
+++ b/src/SMAPI.Web/ViewModels/ModLinkModel.cs
@@ -1,5 +1,3 @@
-#nullable disable
-
namespace StardewModdingAPI.Web.ViewModels
{
/// <summary>Metadata about a link.</summary>
@@ -9,10 +7,10 @@ namespace StardewModdingAPI.Web.ViewModels
** Accessors
*********/
/// <summary>The URL of the linked page.</summary>
- public string Url { get; set; }
+ public string Url { get; }
/// <summary>The suggested link text.</summary>
- public string Text { get; set; }
+ public string Text { get; }
/*********