about summary refs log tree commit diff
path: root/MatrixRoomUtils.Web/Pages/About.razor
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixRoomUtils.Web/Pages/About.razor')
-rw-r--r--MatrixRoomUtils.Web/Pages/About.razor12
1 files changed, 6 insertions, 6 deletions
diff --git a/MatrixRoomUtils.Web/Pages/About.razor b/MatrixRoomUtils.Web/Pages/About.razor
index 17ed04a..df6e6c2 100644
--- a/MatrixRoomUtils.Web/Pages/About.razor
+++ b/MatrixRoomUtils.Web/Pages/About.razor
@@ -13,23 +13,23 @@
 <br/><br/>
 <p>You can find the source code on <a href="https://git.rory.gay/MatrixRoomUtils.git/">my git server</a>.<br/></p>
 <p>You can also join the <a href="https://matrix.to/#/%23mru%3Arory.gay?via=rory.gay&via=matrix.org&via=feline.support">Matrix room</a> for this project.</p>
-@if (showBinDownload) {
+@if (ShowBinDownload) {
     <p>This deployment also serves a copy of the compiled, hosting-ready binaries at <a href="MRU-BIN.tar.xz">/MRU-BIN.tar.xz</a>!</p>
 }
-@if (showSrcDownload) {
+@if (ShowSrcDownload) {
     <p>This deployment also serves a copy of the compiled, hosting-ready binaries at <a href="MRU-SRC.tar.xz">/MRU-SRC.tar.xz</a>!</p>
 }
 
 @code {
-    private bool showBinDownload { get; set; }
-    private bool showSrcDownload { get; set; }
+    private bool ShowBinDownload { get; set; }
+    private bool ShowSrcDownload { get; set; }
 
     protected override async Task OnInitializedAsync() {
         using var hc = new HttpClient();
         var hr = await hc.SendAsync(new HttpRequestMessage(HttpMethod.Head, NavigationManager.ToAbsoluteUri("/MRU-BIN.tar.xz").AbsoluteUri));
-        showBinDownload = hr.StatusCode == HttpStatusCode.OK;
+        ShowBinDownload = hr.StatusCode == HttpStatusCode.OK;
         hr = await hc.SendAsync(new HttpRequestMessage(HttpMethod.Head, NavigationManager.ToAbsoluteUri("/MRU-SRC.tar.xz").AbsoluteUri));
-        showSrcDownload = hr.StatusCode == HttpStatusCode.OK;
+        ShowSrcDownload = hr.StatusCode == HttpStatusCode.OK;
         await base.OnInitializedAsync();
     }