about summary refs log tree commit diff
path: root/MatrixUtils.Desktop/MainWindow.axaml.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-01-24 02:31:56 +0100
committerRory& <root@rory.gay>2024-01-24 17:05:25 +0100
commit03313562d21d5db9bf6a14ebbeab80e06c883d3a (patch)
treee000546a2ee8e6a886a7ed9fd01ad674178fb7cb /MatrixUtils.Desktop/MainWindow.axaml.cs
parentMake RMU installable (diff)
downloadMatrixUtils-03313562d21d5db9bf6a14ebbeab80e06c883d3a.tar.xz
MRU->RMU, fixes, cleanup
Diffstat (limited to '')
-rw-r--r--MatrixUtils.Desktop/MainWindow.axaml.cs (renamed from MatrixRoomUtils.Desktop/MainWindow.axaml.cs)14
1 files changed, 7 insertions, 7 deletions
diff --git a/MatrixRoomUtils.Desktop/MainWindow.axaml.cs b/MatrixUtils.Desktop/MainWindow.axaml.cs

index 6ef573e..562ab1a 100644 --- a/MatrixRoomUtils.Desktop/MainWindow.axaml.cs +++ b/MatrixUtils.Desktop/MainWindow.axaml.cs
@@ -1,25 +1,25 @@ using Avalonia.Controls; using Avalonia.Interactivity; -using MatrixRoomUtils.Abstractions; -using MatrixRoomUtils.Desktop.Components; +using MatrixUtils.Abstractions; +using MatrixUtils.Desktop.Components; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; -namespace MatrixRoomUtils.Desktop; +namespace MatrixUtils.Desktop; public partial class MainWindow : Window { private readonly ILogger<MainWindow> _logger; private readonly IServiceScopeFactory _scopeFactory; - private readonly MRUStorageWrapper _storageWrapper; - private readonly MRUDesktopConfiguration _configuration; + private readonly RMUStorageWrapper _storageWrapper; + private readonly RMUDesktopConfiguration _configuration; public static MainWindow Instance { get; private set; } = null!; public MainWindow(ILogger<MainWindow> logger, IServiceScopeFactory scopeFactory, SentryService _) { Instance = this; _logger = logger; _scopeFactory = scopeFactory; - _configuration = scopeFactory.CreateScope().ServiceProvider.GetRequiredService<MRUDesktopConfiguration>(); - _storageWrapper = scopeFactory.CreateScope().ServiceProvider.GetRequiredService<MRUStorageWrapper>(); + _configuration = scopeFactory.CreateScope().ServiceProvider.GetRequiredService<RMUDesktopConfiguration>(); + _storageWrapper = scopeFactory.CreateScope().ServiceProvider.GetRequiredService<RMUStorageWrapper>(); _logger.LogInformation("Initialising MainWindow");