about summary refs log tree commit diff
path: root/ModerationClient/Views/MainWindow/LoginView.axaml.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-09-04 05:02:20 +0200
committerRory& <root@rory.gay>2024-09-04 05:02:20 +0200
commitd10417339b76bf2750f3e54f4e3b714dd3ed369a (patch)
tree2f0a51900228f3d4e241f9d8ac3001632ed5305d /ModerationClient/Views/MainWindow/LoginView.axaml.cs
parentcgit url for libmatrix (diff)
downloadModerationClient-d10417339b76bf2750f3e54f4e3b714dd3ed369a.tar.xz
Diffstat (limited to 'ModerationClient/Views/MainWindow/LoginView.axaml.cs')
-rw-r--r--ModerationClient/Views/MainWindow/LoginView.axaml.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ModerationClient/Views/MainWindow/LoginView.axaml.cs b/ModerationClient/Views/MainWindow/LoginView.axaml.cs
index 5e84ace..ea2f59d 100644
--- a/ModerationClient/Views/MainWindow/LoginView.axaml.cs
+++ b/ModerationClient/Views/MainWindow/LoginView.axaml.cs
@@ -1,12 +1,12 @@
 using System;
 using Avalonia.Controls;
 using Avalonia.Interactivity;
-using Avalonia.Markup.Xaml;
 using ModerationClient.ViewModels;
 
 namespace ModerationClient.Views;
 
 public partial class LoginView : UserControl {
+    private LoginViewModel? ViewModel => DataContext as LoginViewModel;
     public LoginView() {
         InitializeComponent();
     }