about summary refs log tree commit diff
path: root/MatrixRoomUtils.Desktop/App.axaml.cs
diff options
context:
space:
mode:
authorEmma@Rory& <root@rory.gay>2023-09-19 00:17:18 +0200
committerEmma@Rory& <root@rory.gay>2023-09-19 00:17:18 +0200
commitec1752307a4a273324cd8f13bb099fed6ff7ef3a (patch)
tree5d287d992aa49d6d7f898198a6e769314f65f8eb /MatrixRoomUtils.Desktop/App.axaml.cs
parentRefactors (diff)
downloadMatrixUtils-ec1752307a4a273324cd8f13bb099fed6ff7ef3a.tar.xz
Refactors
Diffstat (limited to 'MatrixRoomUtils.Desktop/App.axaml.cs')
-rw-r--r--MatrixRoomUtils.Desktop/App.axaml.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MatrixRoomUtils.Desktop/App.axaml.cs b/MatrixRoomUtils.Desktop/App.axaml.cs
index 33f2c13..3963be6 100644
--- a/MatrixRoomUtils.Desktop/App.axaml.cs
+++ b/MatrixRoomUtils.Desktop/App.axaml.cs
@@ -20,8 +20,8 @@ public partial class App : Application {
             services.AddSingleton<SentryService>();
             services.AddSingleton<TieredStorageService>(x =>
                 new TieredStorageService(
-                    cacheStorageProvider: new FileStorageProvider(x.GetService<MRUDesktopConfiguration>().CacheStoragePath),
-                    dataStorageProvider: new FileStorageProvider(x.GetService<MRUDesktopConfiguration>().DataStoragePath)
+                    cacheStorageProvider: new FileStorageProvider(x.GetService<MRUDesktopConfiguration>()!.CacheStoragePath),
+                    dataStorageProvider: new FileStorageProvider(x.GetService<MRUDesktopConfiguration>()!.DataStoragePath)
                 )
             );
             services.AddSingleton(new RoryLibMatrixConfiguration {