From 97ddbfcea581ec18427296248882d35d78c5229e Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Sun, 21 Jan 2024 12:17:01 -0600 Subject: [PATCH] Fix release build --- JournalApp/Data/AppDbContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JournalApp/Data/AppDbContext.cs b/JournalApp/Data/AppDbContext.cs index 4673c14..dbf5070 100644 --- a/JournalApp/Data/AppDbContext.cs +++ b/JournalApp/Data/AppDbContext.cs @@ -48,7 +48,7 @@ public async Task GetOrCreateDayAndAddPoints(DateOnly date) Days.Add(day); } - var random = + Random random = #if DEBUG Random.Shared; #else