Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0x5bfa committed Mar 9, 2024
1 parent dbac366 commit 14fb329
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Files.App/UserControls/Widgets/DrivesWidget.xaml.cs
Expand Up @@ -18,7 +18,7 @@ namespace Files.App.UserControls.Widgets
/// </summary>
public sealed partial class DrivesWidget : BaseWidgetViewModel, IWidgetViewModel, INotifyPropertyChanged
{
private DrivesWidgetViewModel ViewModel { get; set; } = new();
private DrivesWidgetViewModel ViewModel { get; set; }

public IUserSettingsService userSettingsService { get; } = Ioc.Default.GetRequiredService<IUserSettingsService>();
private IHomePageContext HomePageContext { get; } = Ioc.Default.GetRequiredService<IHomePageContext>();
Expand Down
2 changes: 1 addition & 1 deletion src/Files.App/UserControls/Widgets/FileTagsWidget.xaml.cs
Expand Up @@ -18,7 +18,7 @@ namespace Files.App.UserControls.Widgets
/// </summary>
public sealed partial class FileTagsWidget : BaseWidgetViewModel, IWidgetViewModel
{
private FileTagsWidgetViewModel ViewModel { get; set; } = new();
public FileTagsWidgetViewModel ViewModel { get; set; }

private readonly IUserSettingsService userSettingsService;
private IHomePageContext HomePageContext { get; } = Ioc.Default.GetRequiredService<IHomePageContext>();
Expand Down
Expand Up @@ -18,7 +18,7 @@ namespace Files.App.UserControls.Widgets
/// </summary>
public sealed partial class QuickAccessWidget : BaseWidgetViewModel, IWidgetViewModel, INotifyPropertyChanged
{
private QuickAccessWidgetViewModel ViewModel { get; set; } = new();
private QuickAccessWidgetViewModel ViewModel { get; set; }

public IUserSettingsService userSettingsService { get; } = Ioc.Default.GetRequiredService<IUserSettingsService>();
private IHomePageContext HomePageContext { get; } = Ioc.Default.GetRequiredService<IHomePageContext>();
Expand Down
Expand Up @@ -20,7 +20,7 @@ namespace Files.App.UserControls.Widgets
/// </summary>
public sealed partial class RecentFilesWidget : BaseWidgetViewModel, IWidgetViewModel, INotifyPropertyChanged
{
private RecentFilesWidgetViewModel ViewModel { get; set; } = new();
private RecentFilesWidgetViewModel ViewModel { get; set; }

private IHomePageContext HomePageContext { get; } = Ioc.Default.GetRequiredService<IHomePageContext>();

Expand Down

0 comments on commit 14fb329

Please sign in to comment.