Skip to content

Commit 9f30e66

Browse files
0x5bfahishitetsu
andauthored
Update DrivesWidget.xaml.cs
Co-authored-by: hishitetsu <[email protected]>
1 parent d2b973f commit 9f30e66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/UserControls/Widgets/DrivesWidget.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public sealed partial class DrivesWidget : BaseWidgetViewModel, IWidgetViewModel
2323
public IUserSettingsService userSettingsService { get; } = Ioc.Default.GetRequiredService<IUserSettingsService>();
2424
private IHomePageContext HomePageContext { get; } = Ioc.Default.GetRequiredService<IHomePageContext>();
2525
private DrivesViewModel drivesViewModel = Ioc.Default.GetRequiredService<DrivesViewModel>();
26-
private INetworkDrivesService NetworkDrivesService = Ioc.Default.GetRequiredService<INetworkDrivesService>();
26+
private readonly INetworkDrivesService NetworkDrivesService = Ioc.Default.GetRequiredService<INetworkDrivesService>();
2727

2828
public delegate void DrivesWidgetInvokedEventHandler(object sender, DrivesWidgetInvokedEventArgs e);
2929
public event DrivesWidgetInvokedEventHandler DrivesWidgetInvoked;

0 commit comments

Comments
 (0)